Code:
/ FX-1434 / FX-1434 / 1.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
- UInt64Converter.cs
- DragEvent.cs
- ToolStripDropDownItem.cs
- PrinterUnitConvert.cs
- DataGridView.cs
- LookupBindingPropertiesAttribute.cs
- ServiceProviders.cs
- ScrollContentPresenter.cs
- LambdaCompiler.Lambda.cs
- CodeActivityContext.cs
- Calendar.cs
- RSAPKCS1KeyExchangeFormatter.cs
- SymbolMethod.cs
- PermissionSetEnumerator.cs
- ApplicationTrust.cs
- StringCollectionEditor.cs
- VisualStyleInformation.cs
- XmlAnyAttributeAttribute.cs
- DataGridViewCellContextMenuStripNeededEventArgs.cs
- TextReader.cs
- WebPartsSection.cs
- Int32RectConverter.cs
- PersonalizationProviderCollection.cs
- DataGridViewImageColumn.cs
- SqlBinder.cs
- WhitespaceRuleReader.cs
- Stylus.cs
- EdmError.cs
- ClientOperation.cs
- UIElement3DAutomationPeer.cs
- AutomationProperties.cs
- QilChoice.cs
- TreeSet.cs
- XdrBuilder.cs
- ResourceDictionary.cs
- ListDictionary.cs
- RemotingConfiguration.cs
- WmlLiteralTextAdapter.cs
- StubHelpers.cs
- SerialPort.cs
- RegexInterpreter.cs
- XPathPatternBuilder.cs
- XmlSchemaType.cs
- ClientSettingsProvider.cs
- XPathMessageFilterTable.cs
- FlowDocumentScrollViewer.cs
- DataGridTableCollection.cs
- SemaphoreFullException.cs
- StoryFragments.cs
- SpotLight.cs
- AggregationMinMaxHelpers.cs
- TemplateNameScope.cs
- HttpCacheVaryByContentEncodings.cs
- MessageDecoder.cs
- GeneratedCodeAttribute.cs
- GcSettings.cs
- PrintPreviewDialog.cs
- DbgUtil.cs
- PolyLineSegment.cs
- UiaCoreTypesApi.cs
- versioninfo.cs
- MemoryMappedViewAccessor.cs
- CompositeFontParser.cs
- Size3DConverter.cs
- _Events.cs
- UpDownBaseDesigner.cs
- Vector3DCollection.cs
- CustomGrammar.cs
- WindowsFormsLinkLabel.cs
- HtmlElementEventArgs.cs
- AmbientLight.cs
- HttpCookie.cs
- DataBoundControlHelper.cs
- FigureParagraph.cs
- DataGridViewCellStyle.cs
- ListItemParagraph.cs
- SecurityImpersonationBehavior.cs
- CompiledXpathExpr.cs
- ImageFormatConverter.cs
- ProfileGroupSettingsCollection.cs
- TreeNodeBindingCollection.cs
- UncommonField.cs
- DBConcurrencyException.cs
- DebugView.cs
- RowsCopiedEventArgs.cs
- TextDocumentView.cs
- RightsManagementUser.cs
- TextContainerChangeEventArgs.cs
- XmlSchemaSimpleTypeRestriction.cs
- Compiler.cs
- BaseValidator.cs
- CanExecuteRoutedEventArgs.cs
- IIS7WorkerRequest.cs
- ExecutionEngineException.cs
- ISCIIEncoding.cs
- BinHexEncoder.cs
- PrivilegedConfigurationManager.cs
- StrokeCollection2.cs
- EpmAttributeNameBuilder.cs
- ApplicationId.cs