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
- SqlDependencyUtils.cs
- ValidatingPropertiesEventArgs.cs
- ListenerElementsCollection.cs
- Stackframe.cs
- TraceHandler.cs
- RecoverInstanceLocksCommand.cs
- BulletedListEventArgs.cs
- DataBoundControlHelper.cs
- HttpProtocolReflector.cs
- NativeCompoundFileAPIs.cs
- ProcessDesigner.cs
- ViewUtilities.cs
- DataBindingCollection.cs
- QuestionEventArgs.cs
- DataGridViewCheckBoxCell.cs
- MexHttpsBindingCollectionElement.cs
- BitmapEffectDrawingContextWalker.cs
- WindowsScroll.cs
- FtpRequestCacheValidator.cs
- DesignerView.Commands.cs
- Icon.cs
- ListBindingHelper.cs
- Convert.cs
- thaishape.cs
- DataSourceControl.cs
- SqlConnectionStringBuilder.cs
- KeyPressEvent.cs
- MemoryMappedViewAccessor.cs
- XmlSchemaProviderAttribute.cs
- EmissiveMaterial.cs
- DelegatingHeader.cs
- EpmTargetTree.cs
- mil_commands.cs
- WebPartCatalogAddVerb.cs
- EdgeProfileValidation.cs
- HostedElements.cs
- FontFamilyValueSerializer.cs
- AutoGeneratedField.cs
- SemanticResultKey.cs
- XmlDictionaryReaderQuotas.cs
- WCFBuildProvider.cs
- serverconfig.cs
- CriticalFinalizerObject.cs
- PropVariant.cs
- ValidatorCollection.cs
- Win32Native.cs
- SamlAction.cs
- WindowsListViewSubItem.cs
- Descriptor.cs
- DbSourceCommand.cs
- SystemTcpConnection.cs
- DecoderFallback.cs
- QueryOpeningEnumerator.cs
- Message.cs
- CustomTypeDescriptor.cs
- SqlMethods.cs
- WebContext.cs
- TCPListener.cs
- BinaryParser.cs
- Int64AnimationUsingKeyFrames.cs
- SqlDependency.cs
- ProtocolsConfigurationEntry.cs
- DataGridViewTextBoxColumn.cs
- ConfigXmlComment.cs
- SafeLocalMemHandle.cs
- StyleXamlTreeBuilder.cs
- Stream.cs
- WebPartDescription.cs
- ContentPosition.cs
- PropertyGridEditorPart.cs
- UIElementParagraph.cs
- Vector3dCollection.cs
- RenderDataDrawingContext.cs
- TypeNameParser.cs
- GenerateTemporaryTargetAssembly.cs
- NameValueCollection.cs
- SqlWebEventProvider.cs
- FormsAuthenticationUser.cs
- FixedElement.cs
- TypefaceCollection.cs
- SingleStorage.cs
- PerformanceCounterCategory.cs
- XmlCountingReader.cs
- BezierSegment.cs
- EndpointDesigner.cs
- DataPagerCommandEventArgs.cs
- ConnectionPoint.cs
- DragEventArgs.cs
- PartitionerStatic.cs
- Transform3DGroup.cs
- PropertyDescriptorComparer.cs
- DocumentOutline.cs
- PathFigureCollection.cs
- AssociationTypeEmitter.cs
- ObjectHelper.cs
- CodeNamespaceImport.cs
- DictionaryCustomTypeDescriptor.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- HttpVersion.cs
- HwndKeyboardInputProvider.cs