Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- EDesignUtil.cs
- StatusBar.cs
- LayoutEditorPart.cs
- PersonalizableAttribute.cs
- SqlTypeConverter.cs
- XmlNode.cs
- RectangleHotSpot.cs
- DataGridColumnsPage.cs
- ObjectFullSpanRewriter.cs
- CookieParameter.cs
- CommandValueSerializer.cs
- ColumnMap.cs
- HeaderUtility.cs
- CanExecuteRoutedEventArgs.cs
- SupportingTokenSecurityTokenResolver.cs
- XmlNodeChangedEventArgs.cs
- WebPartConnectionCollection.cs
- FixedSOMPageConstructor.cs
- FixedBufferAttribute.cs
- WebBrowserUriTypeConverter.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- ObjectSet.cs
- CanExpandCollapseAllConverter.cs
- PassportPrincipal.cs
- SimpleFieldTemplateUserControl.cs
- ValidationRuleCollection.cs
- ContextMarshalException.cs
- BinaryParser.cs
- CodeSnippetExpression.cs
- ShapingWorkspace.cs
- Publisher.cs
- TypeUnloadedException.cs
- EmissiveMaterial.cs
- HwndStylusInputProvider.cs
- CodeMethodInvokeExpression.cs
- Int64Converter.cs
- Soap11ServerProtocol.cs
- TransformDescriptor.cs
- ArgIterator.cs
- AsyncMethodInvoker.cs
- FillRuleValidation.cs
- CommandEventArgs.cs
- XmlChildNodes.cs
- XmlObjectSerializerReadContextComplex.cs
- EmptyImpersonationContext.cs
- DataGridTable.cs
- XmlSchemaElement.cs
- PartialList.cs
- ContainerParaClient.cs
- GeneralTransform3DCollection.cs
- CalendarTable.cs
- IisTraceWebEventProvider.cs
- XmlAttributeProperties.cs
- SQLInt64.cs
- DataGridViewElement.cs
- XmlQualifiedName.cs
- TargetException.cs
- GCHandleCookieTable.cs
- LayoutTable.cs
- ThemeableAttribute.cs
- SystemIPGlobalProperties.cs
- TrustLevel.cs
- WorkflowApplicationCompletedEventArgs.cs
- ApplyTemplatesAction.cs
- ReadOnlyObservableCollection.cs
- HandlerWithFactory.cs
- IntSecurity.cs
- PrePostDescendentsWalker.cs
- ManifestResourceInfo.cs
- ZipQueryOperator.cs
- NavigatorOutput.cs
- SafeCoTaskMem.cs
- TagMapCollection.cs
- ForceCopyBuildProvider.cs
- SecurityToken.cs
- InternalConfigRoot.cs
- OleDbInfoMessageEvent.cs
- ThemeableAttribute.cs
- ProfilePropertyNameValidator.cs
- PreviewKeyDownEventArgs.cs
- CacheDependency.cs
- User.cs
- FlowDocumentView.cs
- DesignerView.Commands.cs
- _Win32.cs
- StopStoryboard.cs
- FormViewPagerRow.cs
- InstanceStore.cs
- FolderBrowserDialog.cs
- PartialTrustVisibleAssembly.cs
- CancellationState.cs
- QueryParameter.cs
- ObjectCloneHelper.cs
- HttpApplicationFactory.cs
- GCHandleCookieTable.cs
- FormatterServicesNoSerializableCheck.cs
- RecipientInfo.cs
- ApplicationHost.cs
- RouteParser.cs
- Cell.cs