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
- RequestBringIntoViewEventArgs.cs
- PatternMatcher.cs
- SqlDataSourceStatusEventArgs.cs
- ToolStripContentPanelRenderEventArgs.cs
- CompilerResults.cs
- StrokeSerializer.cs
- AddInDeploymentState.cs
- CompilerParameters.cs
- InputBinding.cs
- BStrWrapper.cs
- BookmarkResumptionRecord.cs
- MaterialCollection.cs
- PageThemeCodeDomTreeGenerator.cs
- ButtonBase.cs
- ActivityValidator.cs
- RowCache.cs
- ConfigurationManager.cs
- CheckPair.cs
- DesignerTextBoxAdapter.cs
- printdlgexmarshaler.cs
- CharKeyFrameCollection.cs
- ScrollProperties.cs
- SqlSelectStatement.cs
- IListConverters.cs
- ModelPropertyImpl.cs
- ProfilePropertySettings.cs
- TheQuery.cs
- SqlDataSourceView.cs
- SmtpNegotiateAuthenticationModule.cs
- InvokeWebServiceDesigner.cs
- ConcurrencyMode.cs
- MsmqInputChannelListenerBase.cs
- AffineTransform3D.cs
- CultureInfoConverter.cs
- DBConcurrencyException.cs
- InvokeWebServiceDesigner.cs
- ObjectDataSourceView.cs
- IsolatedStorageException.cs
- WorkflowItemPresenter.cs
- DocumentSequenceHighlightLayer.cs
- Size.cs
- DropDownButton.cs
- CodeDOMProvider.cs
- MailHeaderInfo.cs
- ElementUtil.cs
- Int32Animation.cs
- MenuEventArgs.cs
- DrawingImage.cs
- DataGridSortCommandEventArgs.cs
- XmlObjectSerializerReadContext.cs
- InternalConfigHost.cs
- CompilerState.cs
- RecognizedWordUnit.cs
- RedBlackList.cs
- HttpFileCollection.cs
- WebPartVerb.cs
- CreateUserWizard.cs
- InputLanguage.cs
- ObjectQueryState.cs
- ForEach.cs
- ActiveXSite.cs
- SQLDecimal.cs
- UserControlBuildProvider.cs
- ComponentManagerBroker.cs
- LogReservationCollection.cs
- KnownTypes.cs
- TextParaClient.cs
- ProjectedWrapper.cs
- TemplateEditingService.cs
- contentDescriptor.cs
- Visual3D.cs
- ClientScriptManagerWrapper.cs
- CodeSnippetExpression.cs
- CommonXSendMessage.cs
- TdsParserStaticMethods.cs
- NotImplementedException.cs
- Listener.cs
- CompilationRelaxations.cs
- GridViewCellAutomationPeer.cs
- CookielessHelper.cs
- StylusPointPropertyId.cs
- QueryableDataSourceView.cs
- DataGridViewDataErrorEventArgs.cs
- ProviderSettings.cs
- CharacterShapingProperties.cs
- HostExecutionContextManager.cs
- ConditionalExpression.cs
- StyleBamlRecordReader.cs
- TreeBuilder.cs
- LogicalChannelCollection.cs
- WorkflowIdleElement.cs
- x509utils.cs
- TextRunTypographyProperties.cs
- HttpModuleActionCollection.cs
- ObjectStateEntry.cs
- WebEventTraceProvider.cs
- XhtmlConformanceSection.cs
- MetricEntry.cs
- linebase.cs
- DataGridTablesFactory.cs