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
- SafeProcessHandle.cs
- VerbConverter.cs
- SpinWait.cs
- OutOfProcStateClientManager.cs
- ClientRoleProvider.cs
- DataBindingHandlerAttribute.cs
- ContainerUIElement3D.cs
- CaseStatement.cs
- DataList.cs
- DataGridViewCellFormattingEventArgs.cs
- XsdDataContractImporter.cs
- MissingManifestResourceException.cs
- CacheMode.cs
- EnumMemberAttribute.cs
- JsonWriterDelegator.cs
- ConditionCollection.cs
- ListViewTableCell.cs
- SymbolType.cs
- AuthenticationConfig.cs
- Overlapped.cs
- TransformerInfoCollection.cs
- LocalFileSettingsProvider.cs
- DataObjectFieldAttribute.cs
- WebPartAuthorizationEventArgs.cs
- DependencyPropertyKey.cs
- FormViewDeletedEventArgs.cs
- Slider.cs
- DataGridViewRowEventArgs.cs
- ParallelSeparator.xaml.cs
- KnownTypeAttribute.cs
- DataGridAutoFormatDialog.cs
- CheckBox.cs
- SynchronizationLockException.cs
- GeneratedContractType.cs
- LicenseProviderAttribute.cs
- StorageEntityTypeMapping.cs
- ProcessModelSection.cs
- ClockGroup.cs
- LinkArea.cs
- UnsafeNativeMethods.cs
- AnnouncementService.cs
- ViewGenResults.cs
- MediaTimeline.cs
- WebEventCodes.cs
- CapabilitiesUse.cs
- View.cs
- SecureStringHasher.cs
- SchemaAttDef.cs
- DataControlReference.cs
- BoundsDrawingContextWalker.cs
- SqlAliasesReferenced.cs
- FormViewDeletedEventArgs.cs
- TypeContext.cs
- MemberPathMap.cs
- ISAPIWorkerRequest.cs
- MethodBuilderInstantiation.cs
- CollectionViewProxy.cs
- ServerValidateEventArgs.cs
- XmlChildNodes.cs
- BinaryCommonClasses.cs
- Timer.cs
- DeploymentSection.cs
- MethodImplAttribute.cs
- CompilerHelpers.cs
- BasicHttpSecurityMode.cs
- ScriptControlDescriptor.cs
- RoleManagerEventArgs.cs
- baseshape.cs
- EmptyStringExpandableObjectConverter.cs
- SystemColors.cs
- SourceChangedEventArgs.cs
- SchemaEntity.cs
- PeerApplication.cs
- MembershipSection.cs
- StyleBamlRecordReader.cs
- PageClientProxyGenerator.cs
- UnknownWrapper.cs
- SpellerInterop.cs
- BatchWriter.cs
- ArcSegment.cs
- ToolStripLabel.cs
- ProfilePropertyMetadata.cs
- TileBrush.cs
- OrCondition.cs
- listitem.cs
- DataGridViewAdvancedBorderStyle.cs
- glyphs.cs
- AutoResetEvent.cs
- InputLanguageProfileNotifySink.cs
- RuntimeDelegateArgument.cs
- QilFactory.cs
- GreaterThanOrEqual.cs
- SHA256.cs
- oledbconnectionstring.cs
- EncryptedType.cs
- BitmapEffectDrawing.cs
- AttributeCollection.cs
- XmlDocument.cs
- CallTemplateAction.cs
- DataGridViewElement.cs