Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- SimpleBitVector32.cs
- WebPartPersonalization.cs
- DataGridCaption.cs
- RectAnimationUsingKeyFrames.cs
- CompModHelpers.cs
- X509CertificateCollection.cs
- PictureBox.cs
- HotCommands.cs
- PathSegmentCollection.cs
- SelectionGlyphBase.cs
- Parameter.cs
- BehaviorEditorPart.cs
- ArcSegment.cs
- PageRequestManager.cs
- TableParaClient.cs
- LinkConverter.cs
- AccessDataSourceView.cs
- TableColumn.cs
- SingleKeyFrameCollection.cs
- KeyboardNavigation.cs
- ObservableDictionary.cs
- XPathAncestorQuery.cs
- HttpModuleAction.cs
- isolationinterop.cs
- DmlSqlGenerator.cs
- Freezable.cs
- CancelRequestedRecord.cs
- WebPartManagerInternals.cs
- RoutedEventArgs.cs
- PlainXmlSerializer.cs
- StateManagedCollection.cs
- UpdateCommand.cs
- SizeAnimationUsingKeyFrames.cs
- ProfileSettingsCollection.cs
- TopClause.cs
- WebBrowserSiteBase.cs
- QuaternionRotation3D.cs
- StrokeFIndices.cs
- EntityDataSourceChangedEventArgs.cs
- SecurityChannel.cs
- AssemblyUtil.cs
- VirtualPathProvider.cs
- ExtentCqlBlock.cs
- WeakReadOnlyCollection.cs
- ProfilePropertySettings.cs
- FixedBufferAttribute.cs
- AdjustableArrowCap.cs
- PropertyMap.cs
- SecurityDocument.cs
- WebInvokeAttribute.cs
- ConsoleKeyInfo.cs
- Process.cs
- DiscardableAttribute.cs
- StyleXamlParser.cs
- QuaternionIndependentAnimationStorage.cs
- log.cs
- ApplyTemplatesAction.cs
- HeaderedItemsControl.cs
- ProvidePropertyAttribute.cs
- _LocalDataStoreMgr.cs
- OleDbParameter.cs
- LineServicesRun.cs
- PingReply.cs
- ColorConvertedBitmap.cs
- CacheVirtualItemsEvent.cs
- counter.cs
- StrictAndMessageFilter.cs
- OutArgument.cs
- BrowserDefinition.cs
- ProfileModule.cs
- ZipIOCentralDirectoryBlock.cs
- EncoderParameters.cs
- ETagAttribute.cs
- AnonymousIdentificationSection.cs
- ListSourceHelper.cs
- ScriptIgnoreAttribute.cs
- DCSafeHandle.cs
- PropertyGridEditorPart.cs
- XamlToRtfParser.cs
- KeyPressEvent.cs
- TypeConverterAttribute.cs
- AutomationPatternInfo.cs
- AutomationPatternInfo.cs
- DatatypeImplementation.cs
- CodeNamespaceCollection.cs
- PiiTraceSource.cs
- ToolbarAUtomationPeer.cs
- TypeSystem.cs
- ToolStripItem.cs
- PageCache.cs
- SocketException.cs
- ObjectList.cs
- TypeRefElement.cs
- EntityDataSourceWrapper.cs
- AuthorizationSection.cs
- TagPrefixAttribute.cs
- BrushConverter.cs
- EdmPropertyAttribute.cs
- XamlTreeBuilder.cs
- WebConfigurationFileMap.cs