Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / xsp / System / Web / UI / HtmlControls / HtmlInputSubmit.cs / 1 / 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. //------------------------------------------------------------------------------ //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.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
- _TLSstream.cs
- FixUp.cs
- DeferrableContent.cs
- LogRestartAreaEnumerator.cs
- EntityException.cs
- BroadcastEventHelper.cs
- IsolatedStorageFilePermission.cs
- SqlRowUpdatingEvent.cs
- Inline.cs
- BindingMemberInfo.cs
- pingexception.cs
- CodeStatementCollection.cs
- DelimitedListTraceListener.cs
- GenericTextProperties.cs
- QilGeneratorEnv.cs
- PreloadedPackages.cs
- StagingAreaInputItem.cs
- XmlNotation.cs
- RadioButtonRenderer.cs
- ProgressBarAutomationPeer.cs
- SecurityCredentialsManager.cs
- DataListItemCollection.cs
- DataBoundLiteralControl.cs
- Command.cs
- HttpCapabilitiesEvaluator.cs
- SectionRecord.cs
- SqlNodeAnnotation.cs
- SmiConnection.cs
- HttpCachePolicyElement.cs
- PathFigureCollection.cs
- Bits.cs
- PrintPageEvent.cs
- EventEntry.cs
- SqlRowUpdatedEvent.cs
- PrefixQName.cs
- SlotInfo.cs
- PlaceHolder.cs
- TextEndOfParagraph.cs
- InProcStateClientManager.cs
- AssemblyCache.cs
- ItemsChangedEventArgs.cs
- EditorPart.cs
- Source.cs
- DesignTimeParseData.cs
- PrefixHandle.cs
- Utils.cs
- JulianCalendar.cs
- QilExpression.cs
- XmlToDatasetMap.cs
- AttachmentCollection.cs
- ResourcesGenerator.cs
- ICollection.cs
- DesignerValidatorAdapter.cs
- CodeAttributeDeclaration.cs
- BinaryNode.cs
- AnchoredBlock.cs
- PresentationTraceSources.cs
- WaitHandleCannotBeOpenedException.cs
- EncodingTable.cs
- TextTreeRootTextBlock.cs
- GridViewColumnCollection.cs
- RightsManagementEncryptedStream.cs
- FamilyMapCollection.cs
- Crc32Helper.cs
- MinimizableAttributeTypeConverter.cs
- StrokeNodeData.cs
- Vector3DKeyFrameCollection.cs
- SiteMap.cs
- SecurityContextCookieSerializer.cs
- HttpHostedTransportConfiguration.cs
- RuntimeConfigLKG.cs
- QualifiedCellIdBoolean.cs
- SourceElementsCollection.cs
- DbMetaDataCollectionNames.cs
- Bits.cs
- DurableInstance.cs
- _IPv6Address.cs
- CultureSpecificStringDictionary.cs
- DesignerExtenders.cs
- EventHandlersStore.cs
- _SslStream.cs
- LinearGradientBrush.cs
- Cursor.cs
- SchemaMapping.cs
- SystemBrushes.cs
- Decoder.cs
- TreeNodeBinding.cs
- DefaultParameterValueAttribute.cs
- XmlSignificantWhitespace.cs
- ComponentEvent.cs
- PenLineCapValidation.cs
- ZipPackage.cs
- ActiveXContainer.cs
- PopupEventArgs.cs
- ComboBox.cs
- SecurityTokenParameters.cs
- ContentElementAutomationPeer.cs
- DataGridViewCell.cs
- WebZone.cs
- FormatException.cs