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
- ToolStripContextMenu.cs
- DataGridViewBand.cs
- Delegate.cs
- InkCanvas.cs
- Brush.cs
- MailMessage.cs
- DetailsViewRow.cs
- Pair.cs
- XslNumber.cs
- ErrorInfoXmlDocument.cs
- GPPOINTF.cs
- OrCondition.cs
- ResourceReferenceKeyNotFoundException.cs
- OutputCacheSection.cs
- DesignerUtility.cs
- RequiredAttributeAttribute.cs
- datacache.cs
- SessionStateItemCollection.cs
- TextSimpleMarkerProperties.cs
- PermissionSetEnumerator.cs
- objectquery_tresulttype.cs
- Filter.cs
- ResourcePool.cs
- ThemeInfoAttribute.cs
- ScriptServiceAttribute.cs
- ByteStream.cs
- HebrewNumber.cs
- MultipleCopiesCollection.cs
- DataFormats.cs
- ScrollViewer.cs
- ObjectConverter.cs
- XmlEncoding.cs
- WebPartVerbsEventArgs.cs
- OneOfElement.cs
- WmlValidatorAdapter.cs
- NoClickablePointException.cs
- MenuRendererStandards.cs
- IUnknownConstantAttribute.cs
- CompiledRegexRunnerFactory.cs
- PeerEndPoint.cs
- DefaultTextStoreTextComposition.cs
- HGlobalSafeHandle.cs
- AuthStoreRoleProvider.cs
- ErrorRuntimeConfig.cs
- XmlDataImplementation.cs
- StrokeRenderer.cs
- InertiaExpansionBehavior.cs
- XmlExpressionDumper.cs
- CompilerErrorCollection.cs
- DataServiceClientException.cs
- XmlMtomWriter.cs
- StaticResourceExtension.cs
- AsymmetricAlgorithm.cs
- UIAgentMonitorHandle.cs
- DataBindingCollectionEditor.cs
- FileLoadException.cs
- EventLogPermissionEntry.cs
- ConfigurationElementProperty.cs
- GlobalizationAssembly.cs
- ImageFormatConverter.cs
- OleDbFactory.cs
- RegexReplacement.cs
- MessageQueueConverter.cs
- DocumentPageViewAutomationPeer.cs
- NameValueConfigurationCollection.cs
- DateTimeOffset.cs
- ClientProtocol.cs
- Stopwatch.cs
- EdmProviderManifest.cs
- XmlAttributes.cs
- ObjectSpanRewriter.cs
- ValueProviderWrapper.cs
- _DomainName.cs
- unsafeIndexingFilterStream.cs
- EndpointConfigContainer.cs
- CultureNotFoundException.cs
- TextDpi.cs
- MsmqChannelListenerBase.cs
- CheckedListBox.cs
- BigInt.cs
- SerializationSectionGroup.cs
- SafeFileMappingHandle.cs
- SmtpSection.cs
- DispatcherObject.cs
- _ProxyRegBlob.cs
- ResourceDescriptionAttribute.cs
- RSAPKCS1KeyExchangeFormatter.cs
- HtmlAnchor.cs
- _PooledStream.cs
- GrabHandleGlyph.cs
- safePerfProviderHandle.cs
- HashJoinQueryOperatorEnumerator.cs
- XamlHostingSectionGroup.cs
- TraceFilter.cs
- Type.cs
- AppLevelCompilationSectionCache.cs
- TagNameToTypeMapper.cs
- RefExpr.cs
- path.cs
- ResolveResponseInfo.cs