Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / DEVDIV / depot / DevDiv / releases / whidbey / QFE / ndp / fx / src / xsp / System / Web / UI / HtmlControls / HtmlInputSubmit.cs / 2 / HtmlInputSubmit.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* * HtmlInputSubmit.cs * * Copyright (c) 2000 Microsoft Corporation */ namespace System.Web.UI.HtmlControls { using System; using System.Collections; using System.Collections.Specialized; using System.ComponentModel; using System.Web; using System.Web.UI; using System.Globalization; using System.Security.Permissions; ////// [ DefaultEvent("ServerClick"), SupportsEventValidation, ] [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] public class HtmlInputSubmit : HtmlInputButton, IPostBackEventHandler { /* * Creates an intrinsic Html INPUT type=submit control. */ ////// The ///class defines the methods, /// properties, and events for the HTML Input Button control. This class allows /// programmatic access to the HTML <input type= /// button>, <input type= /// submit>,and <input /// type= /// reset> elements on /// the server. /// /// public HtmlInputSubmit() : base("submit") { } /* * Creates an intrinsic Html INPUT type=button,submit,reset control. */ ///Initializes a new instance of a ///class using /// default values. /// public HtmlInputSubmit(string type) : base(type) { } internal override void RenderAttributesInternal(HtmlTextWriter writer) { if (Page != null) { Util.WriteOnClickAttribute( writer, this, true /* submitsAutomatically */, false /* submitsProgramatically */, (CausesValidation && Page.GetValidators(ValidationGroup).Count > 0), ValidationGroup); } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------------------------ //Initializes a new instance of a ///class using the /// specified string. // Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* * HtmlInputSubmit.cs * * Copyright (c) 2000 Microsoft Corporation */ namespace System.Web.UI.HtmlControls { using System; using System.Collections; using System.Collections.Specialized; using System.ComponentModel; using System.Web; using System.Web.UI; using System.Globalization; using System.Security.Permissions; ////// [ DefaultEvent("ServerClick"), SupportsEventValidation, ] [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] public class HtmlInputSubmit : HtmlInputButton, IPostBackEventHandler { /* * Creates an intrinsic Html INPUT type=submit control. */ ////// The ///class defines the methods, /// properties, and events for the HTML Input Button control. This class allows /// programmatic access to the HTML <input type= /// button>, <input type= /// submit>,and <input /// type= /// reset> elements on /// the server. /// /// public HtmlInputSubmit() : base("submit") { } /* * Creates an intrinsic Html INPUT type=button,submit,reset control. */ ///Initializes a new instance of a ///class using /// default values. /// public HtmlInputSubmit(string type) : base(type) { } internal override void RenderAttributesInternal(HtmlTextWriter writer) { if (Page != null) { Util.WriteOnClickAttribute( writer, this, true /* submitsAutomatically */, false /* submitsProgramatically */, (CausesValidation && Page.GetValidators(ValidationGroup).Count > 0), ValidationGroup); } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.Initializes a new instance of a ///class using the /// specified string.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- RadioButtonBaseAdapter.cs
- LayoutEvent.cs
- JsonFormatGeneratorStatics.cs
- WebPartManager.cs
- AuthorizationRule.cs
- GatewayDefinition.cs
- MetadataItem.cs
- DataError.cs
- ComplexLine.cs
- CountAggregationOperator.cs
- LOSFormatter.cs
- WindowPattern.cs
- DocumentSchemaValidator.cs
- LoadWorkflowByInstanceKeyCommand.cs
- DefaultMemberAttribute.cs
- DisplayMemberTemplateSelector.cs
- SelectionUIHandler.cs
- ConstraintConverter.cs
- StreamSecurityUpgradeProvider.cs
- ApplyTemplatesAction.cs
- SqlConnectionString.cs
- XsdBuildProvider.cs
- FilterQuery.cs
- CommonXSendMessage.cs
- externdll.cs
- PersonalizationStateQuery.cs
- CapabilitiesUse.cs
- TextAdaptor.cs
- NamespaceTable.cs
- AppSettingsExpressionBuilder.cs
- DesignTimeVisibleAttribute.cs
- TextDecoration.cs
- ReverseQueryOperator.cs
- TextServicesPropertyRanges.cs
- SqlDataSourceQueryEditorForm.cs
- EntityDataSourceWrapperCollection.cs
- SizeAnimationClockResource.cs
- WmlImageAdapter.cs
- StrongNameIdentityPermission.cs
- JsonEncodingStreamWrapper.cs
- Action.cs
- PathFigureCollection.cs
- SoapExtension.cs
- ExpressionBuilder.cs
- BufferModesCollection.cs
- Operand.cs
- ZoneMembershipCondition.cs
- CollectionViewGroup.cs
- EntityDataSourceContainerNameConverter.cs
- MimeMultiPart.cs
- BevelBitmapEffect.cs
- __TransparentProxy.cs
- FlowDocumentPaginator.cs
- XmlSchemaSimpleTypeUnion.cs
- CapacityStreamGeometryContext.cs
- HtmlInputImage.cs
- ThreadInterruptedException.cs
- SafeFindHandle.cs
- DispatchChannelSink.cs
- RayHitTestParameters.cs
- DbProviderServices.cs
- XMLSchema.cs
- BeginStoryboard.cs
- ClassValidator.cs
- XmlEncodedRawTextWriter.cs
- DoubleAnimationClockResource.cs
- DocumentsTrace.cs
- BufferedGraphics.cs
- ToolBarDesigner.cs
- TextEditorSpelling.cs
- x509utils.cs
- SrgsElement.cs
- UniqueCodeIdentifierScope.cs
- CredentialCache.cs
- nulltextcontainer.cs
- Rotation3D.cs
- HMACMD5.cs
- SQLBytes.cs
- hresults.cs
- CachedFontFamily.cs
- SystemResourceHost.cs
- XmlUtf8RawTextWriter.cs
- DataSourceControl.cs
- MetadataUtil.cs
- ipaddressinformationcollection.cs
- MetadataCache.cs
- DayRenderEvent.cs
- AddingNewEventArgs.cs
- KeyMatchBuilder.cs
- DataGridViewTextBoxColumn.cs
- SynchronizationContext.cs
- SafeCryptoHandles.cs
- SetStateDesigner.cs
- Executor.cs
- Events.cs
- CompilationUnit.cs
- SystemInfo.cs
- ContentPosition.cs
- SecurityHeaderLayout.cs
- DaylightTime.cs