Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / ndp / fx / src / xsp / System / Web / UI / HtmlControls / HtmlInputSubmit.cs / 2 / 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. // Copyright (c) Microsoft Corporation. All rights reserved.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
- FlowDocumentScrollViewer.cs
- TextAutomationPeer.cs
- HtmlSelect.cs
- TextFormatterImp.cs
- DebuggerAttributes.cs
- ShimAsPublicXamlType.cs
- DataGridViewHitTestInfo.cs
- Profiler.cs
- StorageMappingItemCollection.cs
- BorderSidesEditor.cs
- RootDesignerSerializerAttribute.cs
- Baml2006ReaderSettings.cs
- CollectionBase.cs
- OutputCacheSettingsSection.cs
- ToolStripButton.cs
- TreeViewEvent.cs
- SqlComparer.cs
- EventSinkActivity.cs
- SmtpAuthenticationManager.cs
- DataGridViewSelectedRowCollection.cs
- TypeGeneratedEventArgs.cs
- ThreadExceptionDialog.cs
- HwndKeyboardInputProvider.cs
- Helper.cs
- Profiler.cs
- CollectionTypeElement.cs
- WebBaseEventKeyComparer.cs
- FixedSOMPageConstructor.cs
- XmlPreloadedResolver.cs
- NativeWindow.cs
- Listbox.cs
- DynamicResourceExtensionConverter.cs
- RegexTree.cs
- KerberosReceiverSecurityToken.cs
- DataContractJsonSerializer.cs
- SequentialActivityDesigner.cs
- MsmqHostedTransportConfiguration.cs
- clipboard.cs
- TimeZoneInfo.cs
- DesignerCalendarAdapter.cs
- DataGridViewCellValidatingEventArgs.cs
- DataTablePropertyDescriptor.cs
- NotImplementedException.cs
- Psha1DerivedKeyGenerator.cs
- OutOfMemoryException.cs
- BCLDebug.cs
- _NtlmClient.cs
- CachingHintValidation.cs
- PlainXmlSerializer.cs
- SiteMapDataSourceDesigner.cs
- SystemException.cs
- Itemizer.cs
- WebPartCancelEventArgs.cs
- BindingMemberInfo.cs
- MethodBuilderInstantiation.cs
- RenderContext.cs
- ButtonField.cs
- MarkupCompiler.cs
- Activator.cs
- SocketException.cs
- OutArgument.cs
- WindowsButton.cs
- xdrvalidator.cs
- ProfileProvider.cs
- ExclusiveCanonicalizationTransform.cs
- Psha1DerivedKeyGeneratorHelper.cs
- XmlImplementation.cs
- MsmqOutputMessage.cs
- NamespaceInfo.cs
- SemanticTag.cs
- _PooledStream.cs
- __Filters.cs
- FormatVersion.cs
- LogicalExpr.cs
- XhtmlConformanceSection.cs
- CacheSection.cs
- CodeTryCatchFinallyStatement.cs
- XmlWriter.cs
- InstanceHandleConflictException.cs
- TypeViewSchema.cs
- ResourceLoader.cs
- HttpCachePolicy.cs
- Utils.cs
- CompilerWrapper.cs
- ConnectionStringsExpressionBuilder.cs
- StoreItemCollection.Loader.cs
- ModelService.cs
- CounterCreationDataConverter.cs
- MergeLocalizationDirectives.cs
- ReadOnlyHierarchicalDataSource.cs
- ConnectorRouter.cs
- Regex.cs
- BaseTemplateBuildProvider.cs
- ExpandSegment.cs
- DataFormats.cs
- OracleDataAdapter.cs
- GridViewRowEventArgs.cs
- XmlMtomWriter.cs
- JsonGlobals.cs
- WsatConfiguration.cs