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
- GridViewItemAutomationPeer.cs
- SpeechAudioFormatInfo.cs
- Hashtable.cs
- KnowledgeBase.cs
- CodeIterationStatement.cs
- Thumb.cs
- ProvidePropertyAttribute.cs
- VScrollBar.cs
- ADMembershipProvider.cs
- EdmProviderManifest.cs
- DbConnectionOptions.cs
- FlowDocument.cs
- PolygonHotSpot.cs
- DataTableMapping.cs
- RulePatternOps.cs
- DataControlLinkButton.cs
- QuaternionAnimation.cs
- ReadWriteControlDesigner.cs
- HttpServerVarsCollection.cs
- AddInProcess.cs
- webeventbuffer.cs
- Cursor.cs
- TraceInternal.cs
- CookieHandler.cs
- parserscommon.cs
- Module.cs
- TypedAsyncResult.cs
- UpdateProgress.cs
- RuleSetCollection.cs
- CompositeControl.cs
- AttachedPropertyMethodSelector.cs
- ResourceCategoryAttribute.cs
- PageThemeParser.cs
- ObjectPersistData.cs
- SafeCoTaskMem.cs
- PublisherMembershipCondition.cs
- ExpandedProjectionNode.cs
- MasterPageParser.cs
- ReferenceCountedObject.cs
- DataListCommandEventArgs.cs
- OutputScope.cs
- Rectangle.cs
- AnnotationDocumentPaginator.cs
- AttributeQuery.cs
- TypeBuilder.cs
- ThreadNeutralSemaphore.cs
- Metadata.cs
- MenuItemCollection.cs
- DateTimeFormatInfoScanner.cs
- XmlSigningNodeWriter.cs
- BitmapEffectCollection.cs
- BitmapMetadata.cs
- HttpPostedFile.cs
- ImageDrawing.cs
- HtmlTableCell.cs
- PieceNameHelper.cs
- CommonProperties.cs
- localization.cs
- AttachedAnnotationChangedEventArgs.cs
- SqlDeflator.cs
- EdmSchemaError.cs
- HandleRef.cs
- GestureRecognitionResult.cs
- DataSourceSerializationException.cs
- ProfileInfo.cs
- SessionStateItemCollection.cs
- XmlTypeAttribute.cs
- X509RawDataKeyIdentifierClause.cs
- BufferedGraphics.cs
- PrimaryKeyTypeConverter.cs
- DefaultWorkflowLoaderService.cs
- MeshGeometry3D.cs
- ScrollChrome.cs
- FontInfo.cs
- RouteTable.cs
- ScriptResourceHandler.cs
- TreeViewCancelEvent.cs
- Rule.cs
- XhtmlBasicObjectListAdapter.cs
- OleDbWrapper.cs
- LifetimeServices.cs
- NetDataContractSerializer.cs
- InputProcessorProfilesLoader.cs
- SamlSerializer.cs
- StatusBarItemAutomationPeer.cs
- GridViewActionList.cs
- ObjRef.cs
- ZipIOZip64EndOfCentralDirectoryBlock.cs
- QualificationDataItem.cs
- FloatUtil.cs
- SafeRightsManagementEnvironmentHandle.cs
- SystemIPInterfaceStatistics.cs
- VariableBinder.cs
- SafeArrayRankMismatchException.cs
- ArrayConverter.cs
- TextPointerBase.cs
- TcpAppDomainProtocolHandler.cs
- StringUtil.cs
- Rectangle.cs
- ObjectHandle.cs