Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / DEVDIV / depot / DevDiv / releases / whidbey / QFE / ndp / fx / src / xsp / System / Web / UI / HtmlControls / HtmlInputSubmit.cs / 2 / 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. // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------------------------ //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. // Copyright (c) Microsoft Corporation. All rights reserved.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
- GenericWebPart.cs
- MenuAdapter.cs
- ReadOnlyCollection.cs
- SerializerWriterEventHandlers.cs
- PreservationFileReader.cs
- DataMemberFieldEditor.cs
- IdentityReference.cs
- _LocalDataStore.cs
- _ConnectionGroup.cs
- LoginView.cs
- DecimalAnimationBase.cs
- StreamWithDictionary.cs
- CompModSwitches.cs
- DiscoveryDefaults.cs
- ConsoleKeyInfo.cs
- MethodCallConverter.cs
- RectangleGeometry.cs
- PropertyKey.cs
- SizeFConverter.cs
- AddIn.cs
- HyperLinkDataBindingHandler.cs
- ObjectDataSourceView.cs
- CmsUtils.cs
- invalidudtexception.cs
- ClientSideQueueItem.cs
- DataGridViewSelectedCellsAccessibleObject.cs
- FormViewPageEventArgs.cs
- MultiBinding.cs
- XmlElementElementCollection.cs
- IDReferencePropertyAttribute.cs
- DBParameter.cs
- ReadOnlyDataSourceView.cs
- RestHandler.cs
- LinearGradientBrush.cs
- ManualResetEvent.cs
- ParsedRoute.cs
- FormViewPagerRow.cs
- OdbcCommand.cs
- Baml6Assembly.cs
- ParallelRangeManager.cs
- PrivacyNoticeElement.cs
- SubclassTypeValidator.cs
- ResourceContainer.cs
- TemplateField.cs
- DebugView.cs
- VisualBasicSettingsHandler.cs
- MetadataArtifactLoaderFile.cs
- ConstructorBuilder.cs
- MultipartIdentifier.cs
- RequestTimeoutManager.cs
- ContourSegment.cs
- Queue.cs
- PersonalizablePropertyEntry.cs
- XmlMembersMapping.cs
- CryptoConfig.cs
- MDIClient.cs
- UnsafeNativeMethods.cs
- Size3D.cs
- GridViewRowEventArgs.cs
- DropShadowBitmapEffect.cs
- ServicePointManager.cs
- DrawingGroup.cs
- ComplusTypeValidator.cs
- XPathNodePointer.cs
- X509SecurityToken.cs
- RotateTransform.cs
- HtmlInputButton.cs
- XmlImplementation.cs
- DiffuseMaterial.cs
- OleDbDataAdapter.cs
- InkPresenterAutomationPeer.cs
- DiagnosticTraceSource.cs
- ProcessHostConfigUtils.cs
- SamlNameIdentifierClaimResource.cs
- ActivityExecutor.cs
- XmlHierarchyData.cs
- WebPartManagerInternals.cs
- PrincipalPermission.cs
- HashHelper.cs
- SqlCommand.cs
- SHA512.cs
- ImpersonationContext.cs
- DataStorage.cs
- ListBox.cs
- BamlResourceDeserializer.cs
- HMACMD5.cs
- XmlElementCollection.cs
- EmissiveMaterial.cs
- WorkflowEventArgs.cs
- GenericQueueSurrogate.cs
- LocalizationParserHooks.cs
- Bold.cs
- DataGridItemEventArgs.cs
- PersonalizationAdministration.cs
- ObjectDataSourceMethodEventArgs.cs
- AuthenticationException.cs
- SiteIdentityPermission.cs
- Package.cs
- httpapplicationstate.cs
- CDSCollectionETWBCLProvider.cs