Code:
/ DotNET / DotNET / 8.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
- JobInputBins.cs
- RSAPKCS1SignatureFormatter.cs
- SqlUserDefinedTypeAttribute.cs
- ProfileModule.cs
- IntranetCredentialPolicy.cs
- GridViewUpdateEventArgs.cs
- CacheVirtualItemsEvent.cs
- Shape.cs
- Translator.cs
- ISAPIApplicationHost.cs
- TabControl.cs
- EventMap.cs
- ProfileProvider.cs
- PropertySegmentSerializer.cs
- SettingsBindableAttribute.cs
- TreeNodeEventArgs.cs
- FormsAuthenticationEventArgs.cs
- SqlMethodCallConverter.cs
- SynthesizerStateChangedEventArgs.cs
- FileNameEditor.cs
- EntityViewGenerator.cs
- precedingsibling.cs
- SelfSignedCertificate.cs
- QuerySelectOp.cs
- DataGridTextBoxColumn.cs
- UICuesEvent.cs
- TypeDescriptorFilterService.cs
- StyleCollectionEditor.cs
- SettingsSection.cs
- FieldBuilder.cs
- BindUriHelper.cs
- MDIControlStrip.cs
- SqlCommand.cs
- BooleanFunctions.cs
- SvcMapFileLoader.cs
- ShapingEngine.cs
- CultureInfo.cs
- WCFBuildProvider.cs
- XmlLangPropertyAttribute.cs
- DataGridPagerStyle.cs
- PaperSize.cs
- RegexCapture.cs
- InfoCardRSACryptoProvider.cs
- SecurityStandardsManager.cs
- AndAlso.cs
- ProviderConnectionPoint.cs
- DataServiceCollectionOfT.cs
- DecimalKeyFrameCollection.cs
- EnumValAlphaComparer.cs
- AdRotatorDesigner.cs
- MemberHolder.cs
- QueryRelOp.cs
- UIElement.cs
- ControlPaint.cs
- Point3DAnimation.cs
- WCFModelStrings.Designer.cs
- AuthenticateEventArgs.cs
- URLMembershipCondition.cs
- EncryptedHeader.cs
- HttpModuleAction.cs
- NetworkStream.cs
- ChildrenQuery.cs
- sqlnorm.cs
- DeclaredTypeElementCollection.cs
- DateTimeConverter2.cs
- ListParaClient.cs
- StringReader.cs
- SqlDataSourceQueryEditorForm.cs
- Vector3DValueSerializer.cs
- SourceInterpreter.cs
- SelectionRange.cs
- AutomationPropertyChangedEventArgs.cs
- ProviderConnectionPointCollection.cs
- LogExtent.cs
- IdnMapping.cs
- QualifiedCellIdBoolean.cs
- SystemWebExtensionsSectionGroup.cs
- RemoteWebConfigurationHostStream.cs
- FileLevelControlBuilderAttribute.cs
- NeedSkipTokenVisitor.cs
- RegistryPermission.cs
- ConsoleCancelEventArgs.cs
- Point4D.cs
- CompilerCollection.cs
- SqlDataSourceCustomCommandEditor.cs
- XmlSignatureProperties.cs
- SimpleColumnProvider.cs
- ErrorHandler.cs
- EventBookmark.cs
- FlatButtonAppearance.cs
- ContextProperty.cs
- BufferAllocator.cs
- FixedSOMPageElement.cs
- PolyBezierSegment.cs
- ReferencedAssembly.cs
- NetworkInformationPermission.cs
- EntityCommandCompilationException.cs
- Vector3DConverter.cs
- HwndProxyElementProvider.cs
- WebPartDeleteVerb.cs