Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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); } } } }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
- SmiContext.cs
- CallId.cs
- ObjRef.cs
- ObjectPersistData.cs
- KeySpline.cs
- AssertSection.cs
- Win32Exception.cs
- InlineUIContainer.cs
- CurrentChangingEventArgs.cs
- SqlMetaData.cs
- AppDomainManager.cs
- SerializationException.cs
- TrackingProfileSerializer.cs
- RawStylusInputReport.cs
- StringStorage.cs
- WindowsStartMenu.cs
- SerTrace.cs
- DynamicILGenerator.cs
- webproxy.cs
- Constraint.cs
- WebAdminConfigurationHelper.cs
- InkCollectionBehavior.cs
- XmlILTrace.cs
- CDSsyncETWBCLProvider.cs
- RichTextBoxConstants.cs
- EntityCommandDefinition.cs
- XPathConvert.cs
- TemplateInstanceAttribute.cs
- SurrogateEncoder.cs
- QilParameter.cs
- SQLBinary.cs
- LogAppendAsyncResult.cs
- RegexCompiler.cs
- TextClipboardData.cs
- SizeAnimationClockResource.cs
- PagedDataSource.cs
- BinaryFormatter.cs
- IntranetCredentialPolicy.cs
- CatalogZoneBase.cs
- HttpCookie.cs
- SingleConverter.cs
- SharedPerformanceCounter.cs
- Pts.cs
- XmlSchemaAppInfo.cs
- Group.cs
- CodeMemberProperty.cs
- ContractsBCL.cs
- PropertyEmitterBase.cs
- ConnectionInterfaceCollection.cs
- DbParameterCollectionHelper.cs
- TrustManagerMoreInformation.cs
- SqlDataSourceCommandParser.cs
- WebPartZoneDesigner.cs
- AnnotationAdorner.cs
- ObjectReferenceStack.cs
- PropertyGridView.cs
- RemotingConfiguration.cs
- SrgsDocumentParser.cs
- HtmlDocument.cs
- PenThreadWorker.cs
- SplashScreenNativeMethods.cs
- GrowingArray.cs
- XmlConvert.cs
- DoubleLinkList.cs
- ListBase.cs
- EmbeddedMailObject.cs
- ToolStripArrowRenderEventArgs.cs
- DropDownList.cs
- Transform.cs
- DynamicDiscoSearcher.cs
- ValidatorCompatibilityHelper.cs
- SqlVersion.cs
- SystemIcons.cs
- UniqueIdentifierService.cs
- AspNetCompatibilityRequirementsAttribute.cs
- ISAPIApplicationHost.cs
- WebPartTransformer.cs
- GridItem.cs
- SQLBinaryStorage.cs
- StylusPlugInCollection.cs
- dsa.cs
- MetadataAssemblyHelper.cs
- DSASignatureFormatter.cs
- DependentTransaction.cs
- ListDependantCardsRequest.cs
- Point3D.cs
- X509RawDataKeyIdentifierClause.cs
- TemplateKeyConverter.cs
- FamilyMap.cs
- TriState.cs
- FormsAuthenticationConfiguration.cs
- NumericUpDown.cs
- MulticastNotSupportedException.cs
- IndexerNameAttribute.cs
- FlagPanel.cs
- IgnoreFileBuildProvider.cs
- ProfileInfo.cs
- HttpResponseBase.cs
- InternalEnumValidatorAttribute.cs
- SqlTrackingService.cs