Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- GradientSpreadMethodValidation.cs
- ComponentEditorPage.cs
- XmlSchemaAnnotated.cs
- OperandQuery.cs
- NameObjectCollectionBase.cs
- PageCanvasSize.cs
- PrincipalPermission.cs
- XhtmlTextWriter.cs
- ResourceSet.cs
- DetailsViewPagerRow.cs
- CFStream.cs
- InfoCardProofToken.cs
- ObjectAssociationEndMapping.cs
- WebBrowserContainer.cs
- PeerCredential.cs
- DescendantBaseQuery.cs
- CollectionViewSource.cs
- DataGridItemAttachedStorage.cs
- CapiSafeHandles.cs
- NextPreviousPagerField.cs
- initElementDictionary.cs
- ParameterElement.cs
- OleDbMetaDataFactory.cs
- TreeViewImageGenerator.cs
- EditorZoneAutoFormat.cs
- TextViewElement.cs
- GenericTypeParameterBuilder.cs
- EntityConnectionStringBuilder.cs
- XmlSortKeyAccumulator.cs
- PowerModeChangedEventArgs.cs
- ListItemParagraph.cs
- TypeForwardedToAttribute.cs
- BackEase.cs
- Gdiplus.cs
- BrushConverter.cs
- SharedMemory.cs
- DataError.cs
- DescendantQuery.cs
- XmlEncoding.cs
- HttpCapabilitiesBase.cs
- AuthenticationModulesSection.cs
- MetaModel.cs
- AutoScrollHelper.cs
- VariableQuery.cs
- ExecutionEngineException.cs
- SignalGate.cs
- ProgressBarHighlightConverter.cs
- SqlRowUpdatingEvent.cs
- WebPartEditVerb.cs
- ExpressionBuilder.cs
- RoutedEventArgs.cs
- securitycriticaldata.cs
- TreeNodeMouseHoverEvent.cs
- SecurityManager.cs
- HashJoinQueryOperatorEnumerator.cs
- GroupBox.cs
- CapacityStreamGeometryContext.cs
- FixedTextContainer.cs
- XmlRootAttribute.cs
- TreeNodeBinding.cs
- BuildProvider.cs
- GenericPrincipal.cs
- WorkflowRuntimeElement.cs
- HttpApplication.cs
- ValidatorCollection.cs
- DBParameter.cs
- OpenTypeCommon.cs
- CompareInfo.cs
- PropertyDescriptorGridEntry.cs
- WindowsStreamSecurityBindingElement.cs
- ColorMatrix.cs
- AliasedSlot.cs
- SecurityHelper.cs
- SolidBrush.cs
- AppSettingsExpressionEditor.cs
- HostingEnvironmentWrapper.cs
- EndPoint.cs
- DatatypeImplementation.cs
- WindowsServiceCredential.cs
- SizeChangedEventArgs.cs
- Point4D.cs
- ImageAutomationPeer.cs
- CqlIdentifiers.cs
- ApplicationSecurityManager.cs
- SqlError.cs
- serverconfig.cs
- XmlElementAttribute.cs
- WaveHeader.cs
- WindowShowOrOpenTracker.cs
- FloatUtil.cs
- ContainerUIElement3D.cs
- OverflowException.cs
- BamlResourceSerializer.cs
- CharEntityEncoderFallback.cs
- DataGridDefaultColumnWidthTypeConverter.cs
- StateDesigner.Layouts.cs
- UnmanagedMemoryStreamWrapper.cs
- RuleSetReference.cs
- WindowsRebar.cs
- NumericUpDown.cs