Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- SettingsAttributes.cs
- SortedDictionary.cs
- ToolStripCollectionEditor.cs
- GeneralTransform3DGroup.cs
- TextTreeUndo.cs
- Object.cs
- Rotation3D.cs
- CodeConstructor.cs
- CommandHelper.cs
- PropertyInfoSet.cs
- CorrelationManager.cs
- Math.cs
- DiagnosticTrace.cs
- ClientCultureInfo.cs
- SourceElementsCollection.cs
- SystemInfo.cs
- Transform3DCollection.cs
- SQLChars.cs
- ResXDataNode.cs
- CounterCreationData.cs
- FixedSOMPage.cs
- ObjectStorage.cs
- Transform.cs
- DataTable.cs
- MailAddressParser.cs
- TextChange.cs
- BrowserCapabilitiesCompiler.cs
- MessageDescriptionCollection.cs
- AuthStoreRoleProvider.cs
- ContentPlaceHolderDesigner.cs
- ParameterRetriever.cs
- DataPagerFieldCollection.cs
- MutableAssemblyCacheEntry.cs
- AttachedPropertyBrowsableForChildrenAttribute.cs
- UpdatableGenericsFeature.cs
- SettingsPropertyCollection.cs
- TextTreeNode.cs
- HttpStreamFormatter.cs
- TimeoutException.cs
- SystemBrushes.cs
- SymbolEqualComparer.cs
- CompilerCollection.cs
- LOSFormatter.cs
- SecureStringHasher.cs
- ipaddressinformationcollection.cs
- Pen.cs
- XmlSchemaValidator.cs
- LocalFileSettingsProvider.cs
- ErrorFormatterPage.cs
- Manipulation.cs
- Compiler.cs
- SqlConnectionPoolProviderInfo.cs
- WebPartZoneCollection.cs
- ScriptManager.cs
- MenuItemStyle.cs
- Inflater.cs
- PointLight.cs
- NameScopePropertyAttribute.cs
- DataGridViewRowsAddedEventArgs.cs
- BamlLocalizationDictionary.cs
- VisualState.cs
- WebPartConnectionsConfigureVerb.cs
- RootProfilePropertySettingsCollection.cs
- ClientEndpointLoader.cs
- TextRunCache.cs
- ArraySortHelper.cs
- IsolatedStoragePermission.cs
- Adorner.cs
- SoapRpcServiceAttribute.cs
- diagnosticsswitches.cs
- ShaderEffect.cs
- ProxyWebPartManager.cs
- Point.cs
- MediaSystem.cs
- PathGradientBrush.cs
- BamlWriter.cs
- PingReply.cs
- SuppressMessageAttribute.cs
- ArrayTypeMismatchException.cs
- EllipticalNodeOperations.cs
- AssemblyAttributes.cs
- SQLDateTimeStorage.cs
- TimeSpanHelper.cs
- DiscardableAttribute.cs
- XmlUtil.cs
- MultiDataTrigger.cs
- Button.cs
- OperatingSystem.cs
- FixedTextBuilder.cs
- ReachFixedPageSerializerAsync.cs
- DistributedTransactionPermission.cs
- CodeTypeParameter.cs
- LicenseManager.cs
- StringUtil.cs
- CompilerGlobalScopeAttribute.cs
- FrameAutomationPeer.cs
- ManagedIStream.cs
- SqlUserDefinedAggregateAttribute.cs
- COM2FontConverter.cs
- FixedTextContainer.cs