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
- HtmlTableRow.cs
- LicenseException.cs
- NativeCppClassAttribute.cs
- DataGridViewCellValidatingEventArgs.cs
- Compiler.cs
- WebControlsSection.cs
- ScriptingAuthenticationServiceSection.cs
- ExpressionHelper.cs
- ContractMapping.cs
- WindowsProgressbar.cs
- SkipQueryOptionExpression.cs
- Application.cs
- ProgressiveCrcCalculatingStream.cs
- _AcceptOverlappedAsyncResult.cs
- TableDetailsCollection.cs
- XmlUrlResolver.cs
- DeclaredTypeElementCollection.cs
- CodeAccessPermission.cs
- ProvidersHelper.cs
- SchemaEntity.cs
- SmiEventSink_Default.cs
- FormatPage.cs
- FixedDocumentSequencePaginator.cs
- HandlerWithFactory.cs
- WebPartsPersonalization.cs
- FrameworkRichTextComposition.cs
- UrlAuthFailedErrorFormatter.cs
- XmlParserContext.cs
- FlowLayoutPanel.cs
- RegexRunner.cs
- ToolBar.cs
- EdmFunction.cs
- PropertyManager.cs
- FileChangesMonitor.cs
- DownloadProgressEventArgs.cs
- CodeNamespaceImport.cs
- Mapping.cs
- ControlUtil.cs
- XmlAtomicValue.cs
- BindingExpressionBase.cs
- PolyQuadraticBezierSegmentFigureLogic.cs
- DelegateBodyWriter.cs
- SafeEventLogWriteHandle.cs
- GridViewColumnHeaderAutomationPeer.cs
- FilteredAttributeCollection.cs
- GenerateHelper.cs
- DecimalStorage.cs
- ExpandSegment.cs
- HostedHttpTransportManager.cs
- ResolveNameEventArgs.cs
- ValueExpressions.cs
- ColumnMapTranslator.cs
- XmlArrayAttribute.cs
- TableRowGroup.cs
- XamlClipboardData.cs
- DocumentAutomationPeer.cs
- RectangleGeometry.cs
- XmlSerializerFactory.cs
- StringResourceManager.cs
- ObservableCollection.cs
- EmbossBitmapEffect.cs
- MethodBuilderInstantiation.cs
- BamlRecordWriter.cs
- TrailingSpaceComparer.cs
- ExtenderProvidedPropertyAttribute.cs
- ExecutionEngineException.cs
- AnnotationMap.cs
- DashStyle.cs
- CreateUserErrorEventArgs.cs
- AccessedThroughPropertyAttribute.cs
- CustomCredentialPolicy.cs
- IntegerValidator.cs
- BitmapSource.cs
- IisTraceListener.cs
- CodeDOMProvider.cs
- SpellerStatusTable.cs
- WebServiceMethodData.cs
- LayoutEditorPart.cs
- MailWriter.cs
- PolicyFactory.cs
- CheckBoxPopupAdapter.cs
- SqlServices.cs
- OleDbPropertySetGuid.cs
- MessageContractImporter.cs
- RtfControls.cs
- TextSelection.cs
- DataControlButton.cs
- PlanCompilerUtil.cs
- StrongNameUtility.cs
- AuthenticationException.cs
- ZipIOBlockManager.cs
- DataGridViewCellFormattingEventArgs.cs
- CategoryAttribute.cs
- WindowsImpersonationContext.cs
- OraclePermissionAttribute.cs
- MapPathBasedVirtualPathProvider.cs
- WS2007HttpBindingElement.cs
- SelectionRange.cs
- NumberSubstitution.cs
- BindingContext.cs