Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / UI / HtmlControls / HtmlInputSubmit.cs / 1305376 / 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, ] 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, ] 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
- XmlBinaryReader.cs
- Line.cs
- PluggableProtocol.cs
- DetailsViewInsertEventArgs.cs
- DesignerObject.cs
- SHA1CryptoServiceProvider.cs
- ContentFileHelper.cs
- printdlgexmarshaler.cs
- TreeViewImageIndexConverter.cs
- BooleanSwitch.cs
- TransactionManager.cs
- SelectorItemAutomationPeer.cs
- WebServiceHost.cs
- PropertyConverter.cs
- GenericUriParser.cs
- XmlSerializerVersionAttribute.cs
- RoutedPropertyChangedEventArgs.cs
- WeakHashtable.cs
- ChangeTracker.cs
- EntityDesignPluralizationHandler.cs
- DataControlImageButton.cs
- Soap12ServerProtocol.cs
- SchemaMapping.cs
- RC2CryptoServiceProvider.cs
- ExceptionHandler.cs
- Separator.cs
- ValidationRuleCollection.cs
- SectionInformation.cs
- SQLInt32.cs
- HttpApplication.cs
- LocalizationParserHooks.cs
- COAUTHINFO.cs
- AuthenticateEventArgs.cs
- ConnectionPoolRegistry.cs
- SQLInt64.cs
- ipaddressinformationcollection.cs
- UpdateTranslator.cs
- ArgumentNullException.cs
- BindingWorker.cs
- FlowDocumentPage.cs
- HorizontalAlignConverter.cs
- StretchValidation.cs
- Nodes.cs
- ChangeNode.cs
- FileIOPermission.cs
- GraphicsPathIterator.cs
- FormDesigner.cs
- FocusTracker.cs
- DeviceContexts.cs
- ContentElement.cs
- RelatedCurrencyManager.cs
- RegularExpressionValidator.cs
- StreamGeometry.cs
- MimeObjectFactory.cs
- WindowsProgressbar.cs
- XmlQueryOutput.cs
- GlobalItem.cs
- contentDescriptor.cs
- PathGradientBrush.cs
- Array.cs
- IssuedTokenServiceCredential.cs
- EmptyControlCollection.cs
- Int32Converter.cs
- SolidBrush.cs
- BodyGlyph.cs
- Parallel.cs
- BamlCollectionHolder.cs
- ProfileProvider.cs
- TwoPhaseCommit.cs
- SqlPersonalizationProvider.cs
- EventLogger.cs
- DoubleLinkList.cs
- SchemaElementDecl.cs
- Canvas.cs
- StylusPointCollection.cs
- DocumentXmlWriter.cs
- EventProviderBase.cs
- Geometry.cs
- DataServiceResponse.cs
- WebUtil.cs
- PrimitiveXmlSerializers.cs
- UseAttributeSetsAction.cs
- EnumUnknown.cs
- StackOverflowException.cs
- WrapperEqualityComparer.cs
- ForceCopyBuildProvider.cs
- BuildManagerHost.cs
- CapabilitiesRule.cs
- RefExpr.cs
- JsonFormatReaderGenerator.cs
- log.cs
- RequestQueue.cs
- BitmapEffectGroup.cs
- HtmlElementErrorEventArgs.cs
- AbstractSvcMapFileLoader.cs
- MimeXmlImporter.cs
- QilIterator.cs
- SpecialFolderEnumConverter.cs
- DataGridViewTextBoxEditingControl.cs
- ZipIOExtraFieldZip64Element.cs