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
- Size.cs
- TemplateColumn.cs
- XmlChildEnumerator.cs
- PointKeyFrameCollection.cs
- HelpProvider.cs
- XmlSchemaSimpleContentRestriction.cs
- Root.cs
- FragmentQueryKB.cs
- EventHandlerList.cs
- __ConsoleStream.cs
- SelfIssuedAuthAsymmetricKey.cs
- TypeCollectionPropertyEditor.cs
- DataDesignUtil.cs
- SqlClientFactory.cs
- XPathNodeIterator.cs
- DictionaryGlobals.cs
- TextBoxView.cs
- LocalizationParserHooks.cs
- ContentElementAutomationPeer.cs
- DictionarySectionHandler.cs
- OdbcCommand.cs
- PasswordBox.cs
- smtpconnection.cs
- InkSerializer.cs
- HtmlInputControl.cs
- InlinedLocationReference.cs
- PropertyDescriptorComparer.cs
- NameValueFileSectionHandler.cs
- ConfigurationManagerHelper.cs
- UnmanagedMarshal.cs
- ThreadPool.cs
- OptimisticConcurrencyException.cs
- Font.cs
- WorkflowCommandExtensionItem.cs
- RemoteTokenFactory.cs
- XomlCompilerParameters.cs
- WebPartTracker.cs
- IPCCacheManager.cs
- ProtocolsConfigurationHandler.cs
- ColumnResult.cs
- BinaryNode.cs
- AdapterSwitches.cs
- InputEventArgs.cs
- UriGenerator.cs
- SQLInt16Storage.cs
- HttpResponseHeader.cs
- DataGridColumnHeaderAutomationPeer.cs
- TypeUsageBuilder.cs
- XdrBuilder.cs
- MessageBox.cs
- GreenMethods.cs
- TripleDESCryptoServiceProvider.cs
- StrongNamePublicKeyBlob.cs
- ToolStripProgressBar.cs
- LinqMaximalSubtreeNominator.cs
- ExtensionFile.cs
- EventDriven.cs
- TranslateTransform3D.cs
- Pair.cs
- HyperlinkAutomationPeer.cs
- DNS.cs
- DBAsyncResult.cs
- ListViewGroup.cs
- SizeConverter.cs
- ObjectPersistData.cs
- TextLine.cs
- HtmlInputReset.cs
- ParserContext.cs
- DesignerTransaction.cs
- RealProxy.cs
- HotCommands.cs
- URIFormatException.cs
- HttpContextServiceHost.cs
- PreservationFileReader.cs
- _SSPISessionCache.cs
- ProcessModelSection.cs
- GeometryHitTestParameters.cs
- OdbcConnectionPoolProviderInfo.cs
- BufferedGraphicsManager.cs
- TemplateControlParser.cs
- UserPersonalizationStateInfo.cs
- SizeF.cs
- HttpException.cs
- MediaElementAutomationPeer.cs
- HtmlInputCheckBox.cs
- ToolStripControlHost.cs
- Pair.cs
- InternalResources.cs
- ParserStreamGeometryContext.cs
- ValidationSummary.cs
- DefaultAuthorizationContext.cs
- ConnectionStringsExpressionBuilder.cs
- ClientFormsAuthenticationCredentials.cs
- VerificationException.cs
- EntityException.cs
- GatewayDefinition.cs
- PlanCompilerUtil.cs
- TaskCanceledException.cs
- LiteralSubsegment.cs
- ExceptionValidationRule.cs