Code:
/ DotNET / DotNET / 8.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
- Stylus.cs
- CodeConstructor.cs
- WorkflowServiceHost.cs
- X509ChainPolicy.cs
- HttpResponseHeader.cs
- InputScopeAttribute.cs
- PrimaryKeyTypeConverter.cs
- RequestContextBase.cs
- AssemblyNameProxy.cs
- XmlSchemaDocumentation.cs
- FactoryRecord.cs
- SqlCacheDependency.cs
- MergePropertyDescriptor.cs
- PasswordTextContainer.cs
- OraclePermission.cs
- WebConfigurationHostFileChange.cs
- ConfigsHelper.cs
- CachedTypeface.cs
- ToolStripProgressBar.cs
- PageThemeBuildProvider.cs
- MobilePage.cs
- FormatterConverter.cs
- SingleAnimationUsingKeyFrames.cs
- ACE.cs
- LogReserveAndAppendState.cs
- LayoutTableCell.cs
- MediaContextNotificationWindow.cs
- DataBindingCollection.cs
- DataGridCommandEventArgs.cs
- TemplateControlCodeDomTreeGenerator.cs
- WrappedOptions.cs
- QueryRewriter.cs
- SelectionGlyph.cs
- RichTextBoxAutomationPeer.cs
- OperandQuery.cs
- PerformanceCounterManager.cs
- PackageFilter.cs
- Point4DConverter.cs
- DataGridViewRowPostPaintEventArgs.cs
- SEHException.cs
- TextEditorTables.cs
- NativeMethods.cs
- SqlCacheDependencyDatabaseCollection.cs
- AsymmetricSignatureDeformatter.cs
- BinHexDecoder.cs
- InputQueueChannelAcceptor.cs
- PersistChildrenAttribute.cs
- ProjectionPath.cs
- XamlTemplateSerializer.cs
- DelayedRegex.cs
- Wrapper.cs
- TypeUtils.cs
- TextEffectResolver.cs
- LogFlushAsyncResult.cs
- WindowsRichEditRange.cs
- DbConnectionHelper.cs
- XpsSerializationException.cs
- ControlBuilderAttribute.cs
- WmlTextViewAdapter.cs
- FormatConvertedBitmap.cs
- WebControlAdapter.cs
- ConfigurationSettings.cs
- FileDetails.cs
- AutoResetEvent.cs
- EndPoint.cs
- AppSettingsReader.cs
- ParseElement.cs
- PerspectiveCamera.cs
- FlowNode.cs
- SqlExpander.cs
- XmlLanguage.cs
- AppSecurityManager.cs
- AuthorizationRuleCollection.cs
- ListBoxAutomationPeer.cs
- DependencyPropertyConverter.cs
- InheritablePropertyChangeInfo.cs
- DefaultHttpHandler.cs
- X509CertificateCollection.cs
- DelimitedListTraceListener.cs
- Menu.cs
- CompiledQuery.cs
- ProtectedConfigurationSection.cs
- RuleInfoComparer.cs
- PropertyIDSet.cs
- ScaleTransform3D.cs
- SchemaType.cs
- WindowsContainer.cs
- PasswordBox.cs
- HttpCookiesSection.cs
- PathData.cs
- ScrollPatternIdentifiers.cs
- VerificationException.cs
- AutomationElementIdentifiers.cs
- GeneratedCodeAttribute.cs
- RightsManagementPermission.cs
- AlgoModule.cs
- FacetEnabledSchemaElement.cs
- MouseEventArgs.cs
- DataSvcMapFile.cs
- XmlSchemaCompilationSettings.cs