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
- DBParameter.cs
- Form.cs
- StagingAreaInputItem.cs
- CodeSnippetCompileUnit.cs
- Queue.cs
- PropertyToken.cs
- SmtpAuthenticationManager.cs
- ReflectPropertyDescriptor.cs
- UIElement.cs
- Matrix3D.cs
- GeneralTransform2DTo3D.cs
- UrlParameterWriter.cs
- ScriptResourceAttribute.cs
- XmlUtilWriter.cs
- MaskDescriptors.cs
- SamlConditions.cs
- NullNotAllowedCollection.cs
- SqlDataAdapter.cs
- EdmProperty.cs
- RenderDataDrawingContext.cs
- ReadOnlyDictionary.cs
- SessionStateModule.cs
- EventLogStatus.cs
- TabItemWrapperAutomationPeer.cs
- AuthorizationPolicyTypeElementCollection.cs
- SqlConnection.cs
- SqlClientMetaDataCollectionNames.cs
- XmlSchemaAnnotated.cs
- SignerInfo.cs
- ListenerConnectionDemuxer.cs
- WindowsTokenRoleProvider.cs
- PointLightBase.cs
- ClientTargetCollection.cs
- Vector3DAnimation.cs
- HighlightVisual.cs
- HttpClientProtocol.cs
- VectorAnimation.cs
- OperatingSystem.cs
- CachedFontFamily.cs
- BaseComponentEditor.cs
- NotSupportedException.cs
- XmlCodeExporter.cs
- DefaultBindingPropertyAttribute.cs
- X509Certificate2Collection.cs
- SspiHelper.cs
- DateTimeOffsetConverter.cs
- SafeNativeMethods.cs
- Trace.cs
- ServerIdentity.cs
- PasswordBox.cs
- TreeViewCancelEvent.cs
- ToReply.cs
- oledbmetadatacollectionnames.cs
- AssemblySettingAttributes.cs
- FormClosingEvent.cs
- XsltException.cs
- BackEase.cs
- FontFamilyValueSerializer.cs
- ClientData.cs
- AsymmetricKeyExchangeFormatter.cs
- followingsibling.cs
- Int64Animation.cs
- CharacterBuffer.cs
- XmlQueryContext.cs
- CssTextWriter.cs
- DataGridViewTextBoxColumn.cs
- DetailsViewInsertedEventArgs.cs
- CacheEntry.cs
- DataViewListener.cs
- LocatorGroup.cs
- QilInvoke.cs
- KeyInfo.cs
- NonSerializedAttribute.cs
- DataPager.cs
- GrabHandleGlyph.cs
- EventMemberCodeDomSerializer.cs
- WindowsIPAddress.cs
- AccessDataSourceDesigner.cs
- ListViewItem.cs
- FontCollection.cs
- PersonalizableTypeEntry.cs
- XmlSchemaObjectCollection.cs
- FontUnitConverter.cs
- SyncMethodInvoker.cs
- CommonDialog.cs
- ErrorStyle.cs
- InternalTypeHelper.cs
- DataAdapter.cs
- ChineseLunisolarCalendar.cs
- DeviceFilterEditorDialog.cs
- Type.cs
- BindingBase.cs
- ScrollChangedEventArgs.cs
- FixedSOMLineRanges.cs
- XmlSerializer.cs
- Debug.cs
- CheckBoxFlatAdapter.cs
- RelationshipEndCollection.cs
- RectConverter.cs
- WindowsSolidBrush.cs