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
- ImpersonationContext.cs
- StrokeNodeOperations2.cs
- ApplicationDirectory.cs
- HostingPreferredMapPath.cs
- EventPropertyMap.cs
- XmlDataCollection.cs
- UserPreferenceChangedEventArgs.cs
- AppDomainUnloadedException.cs
- HelpEvent.cs
- TreeView.cs
- InputReportEventArgs.cs
- XPathAxisIterator.cs
- WebScriptEnablingElement.cs
- DiagnosticTraceSource.cs
- Utils.cs
- GetMemberBinder.cs
- HtmlInputReset.cs
- SqlUserDefinedTypeAttribute.cs
- ComponentEvent.cs
- AutoSizeComboBox.cs
- IntSecurity.cs
- PageParserFilter.cs
- VisualTarget.cs
- DataGridRelationshipRow.cs
- BamlResourceContent.cs
- XPathLexer.cs
- AppDomain.cs
- SafeMILHandleMemoryPressure.cs
- EdgeProfileValidation.cs
- FlowDocumentPageViewerAutomationPeer.cs
- FormsAuthenticationConfiguration.cs
- JsonEnumDataContract.cs
- PublishLicense.cs
- DatePickerAutomationPeer.cs
- FontNamesConverter.cs
- NetworkInformationException.cs
- XmlObjectSerializerWriteContextComplex.cs
- SiteMapProvider.cs
- XmlSchemaFacet.cs
- TypeConverterAttribute.cs
- IsolatedStorageException.cs
- TraceEventCache.cs
- PermissionRequestEvidence.cs
- LayoutEngine.cs
- TemplateBindingExtensionConverter.cs
- ResourceSet.cs
- TreeNodeStyleCollection.cs
- HandleRef.cs
- WinFormsSecurity.cs
- ZipIOExtraFieldElement.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- HandlerBase.cs
- CommonDialog.cs
- CapabilitiesUse.cs
- TreeNodeSelectionProcessor.cs
- EnumerableRowCollection.cs
- CompositeFontParser.cs
- FileDialog_Vista.cs
- SmtpException.cs
- Wildcard.cs
- Brushes.cs
- DbgUtil.cs
- AstTree.cs
- NavigationWindow.cs
- XsltLibrary.cs
- ListViewGroupItemCollection.cs
- LZCodec.cs
- ISAPIRuntime.cs
- System.Data_BID.cs
- DateTimeSerializationSection.cs
- LogEntryHeaderDeserializer.cs
- XmlDocumentFieldSchema.cs
- LinqDataSourceContextData.cs
- WebPartConnectionsConfigureVerb.cs
- AutoResetEvent.cs
- DayRenderEvent.cs
- DataGridViewEditingControlShowingEventArgs.cs
- Style.cs
- DiscoveryDocumentReference.cs
- ButtonColumn.cs
- ArgumentException.cs
- OleCmdHelper.cs
- BinaryReader.cs
- AssemblyBuilder.cs
- GeometryGroup.cs
- WSFederationHttpSecurityMode.cs
- ViewPort3D.cs
- GuidTagList.cs
- CompoundFileReference.cs
- SharedPersonalizationStateInfo.cs
- ColumnReorderedEventArgs.cs
- RecognitionEventArgs.cs
- AnnotationHelper.cs
- RemoteWebConfigurationHost.cs
- UseLicense.cs
- DPAPIProtectedConfigurationProvider.cs
- EntitySqlQueryBuilder.cs
- ReliableReplySessionChannel.cs
- _UncName.cs
- Figure.cs