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
- BatchWriter.cs
- SrgsElementFactory.cs
- ResourceWriter.cs
- Animatable.cs
- WebPartAuthorizationEventArgs.cs
- GeometryModel3D.cs
- DataGridViewComboBoxColumnDesigner.cs
- EndPoint.cs
- HtmlImageAdapter.cs
- MessageBox.cs
- Encoding.cs
- ToolStripCollectionEditor.cs
- DataGridColumnEventArgs.cs
- ComboBoxAutomationPeer.cs
- WS2007HttpBinding.cs
- _DisconnectOverlappedAsyncResult.cs
- AvTrace.cs
- DataGridViewCellFormattingEventArgs.cs
- StrokeRenderer.cs
- Membership.cs
- Emitter.cs
- Misc.cs
- InternalSendMessage.cs
- HttpCachePolicyElement.cs
- SmuggledIUnknown.cs
- OleDbRowUpdatedEvent.cs
- TraceProvider.cs
- DesignerEventService.cs
- DataStreamFromComStream.cs
- ShaperBuffers.cs
- ExpressionBuilderContext.cs
- QueryableFilterRepeater.cs
- SafeBitVector32.cs
- Message.cs
- CollectionBuilder.cs
- MetadataFile.cs
- DataGridViewLinkCell.cs
- CellPartitioner.cs
- WindowAutomationPeer.cs
- CodeExpressionCollection.cs
- SQLDecimalStorage.cs
- DataObjectPastingEventArgs.cs
- WorkflowRuntimeService.cs
- BuildResultCache.cs
- Matrix3D.cs
- MissingFieldException.cs
- Formatter.cs
- propertyentry.cs
- XmlElementCollection.cs
- DateTimeValueSerializerContext.cs
- DocumentViewerBase.cs
- ListViewItemEventArgs.cs
- shaperfactoryquerycacheentry.cs
- PropertyIDSet.cs
- AdapterDictionary.cs
- XmlEntityReference.cs
- LoginAutoFormat.cs
- SHA256Managed.cs
- XamlSerializer.cs
- ModelTreeEnumerator.cs
- UserMapPath.cs
- SelfIssuedAuthProofToken.cs
- DetailsViewRowCollection.cs
- SerializationEventsCache.cs
- AutomationProperty.cs
- DataGridViewBindingCompleteEventArgs.cs
- ParserOptions.cs
- OverrideMode.cs
- XmlCharCheckingWriter.cs
- HttpResponseInternalWrapper.cs
- CollectionCodeDomSerializer.cs
- MtomMessageEncodingBindingElement.cs
- ICspAsymmetricAlgorithm.cs
- PrintingPermission.cs
- LinkDescriptor.cs
- Maps.cs
- MailWebEventProvider.cs
- CommandLineParser.cs
- TransformConverter.cs
- GeometryGroup.cs
- SmtpException.cs
- EpmContentDeSerializerBase.cs
- DiscoveryClientProtocol.cs
- SecUtil.cs
- StyleBamlTreeBuilder.cs
- SpellerHighlightLayer.cs
- ECDiffieHellmanCng.cs
- Debug.cs
- EditBehavior.cs
- WindowsFormsHost.cs
- ItemChangedEventArgs.cs
- XmlHierarchyData.cs
- ExpressionEditorAttribute.cs
- Container.cs
- Math.cs
- CodeVariableDeclarationStatement.cs
- ProfileInfo.cs
- _SslStream.cs
- Inflater.cs
- TreeNodeBinding.cs