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
- CancellationState.cs
- RuntimeConfigLKG.cs
- WorkflowRuntime.cs
- TreeNodeStyle.cs
- LockedAssemblyCache.cs
- BlobPersonalizationState.cs
- BridgeDataRecord.cs
- GCHandleCookieTable.cs
- ManipulationDeltaEventArgs.cs
- Camera.cs
- DocumentPageView.cs
- XmlText.cs
- RelationshipEndCollection.cs
- Rule.cs
- CqlParserHelpers.cs
- EqualityComparer.cs
- GlyphTypeface.cs
- JournalNavigationScope.cs
- CodeMemberEvent.cs
- SelectedDatesCollection.cs
- ActiveXHost.cs
- SQLByte.cs
- VisualBasicSettings.cs
- ChtmlLinkAdapter.cs
- ParameterElementCollection.cs
- AvTrace.cs
- InvalidPrinterException.cs
- EncodingDataItem.cs
- InternalBase.cs
- PartialArray.cs
- QilChoice.cs
- ProviderException.cs
- XmlSchemaDatatype.cs
- ZoneButton.cs
- TableChangeProcessor.cs
- QuaternionAnimation.cs
- ActivityCodeDomReferenceService.cs
- RSAOAEPKeyExchangeFormatter.cs
- DataGridViewTopLeftHeaderCell.cs
- WsdlBuildProvider.cs
- FixedSOMGroup.cs
- UniformGrid.cs
- ModelUIElement3D.cs
- OptimizedTemplateContentHelper.cs
- PropertyValueChangedEvent.cs
- XPathScanner.cs
- SimpleFieldTemplateUserControl.cs
- SetterBase.cs
- DataListCommandEventArgs.cs
- LinqDataSourceStatusEventArgs.cs
- RSAPKCS1SignatureFormatter.cs
- DataGridViewCheckBoxCell.cs
- TraceShell.cs
- TrackingLocationCollection.cs
- EtwTrackingParticipant.cs
- TextSchema.cs
- ControlDesigner.cs
- CodeDelegateInvokeExpression.cs
- ADConnectionHelper.cs
- ExpressionConverter.cs
- SoapIgnoreAttribute.cs
- XmlDataDocument.cs
- MultiPageTextView.cs
- SecurityTokenProvider.cs
- JsonQNameDataContract.cs
- MatrixCamera.cs
- externdll.cs
- _ShellExpression.cs
- WindowsBrush.cs
- InvokePatternIdentifiers.cs
- PropertyRef.cs
- ReflectTypeDescriptionProvider.cs
- AssemblyBuilder.cs
- SByteConverter.cs
- TypeConverterHelper.cs
- SmtpSection.cs
- JsonFormatGeneratorStatics.cs
- TdsParserHelperClasses.cs
- WindowAutomationPeer.cs
- BinaryConverter.cs
- TableNameAttribute.cs
- EventSourceCreationData.cs
- ICollection.cs
- BuildDependencySet.cs
- Funcletizer.cs
- AnimatedTypeHelpers.cs
- InterleavedZipPartStream.cs
- InkCanvas.cs
- InvalidAsynchronousStateException.cs
- CalendarAutoFormatDialog.cs
- GenericWebPart.cs
- EntityDataSourceState.cs
- basenumberconverter.cs
- CollectionView.cs
- ConfigXmlComment.cs
- Source.cs
- RequestSecurityToken.cs
- mediaeventargs.cs
- StateItem.cs
- CodeTypeReference.cs