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
- CookieProtection.cs
- SecurityValidationBehavior.cs
- SafeNativeMethods.cs
- ProviderCommandInfoUtils.cs
- XPathConvert.cs
- MaskedTextProvider.cs
- FileFormatException.cs
- GraphicsPath.cs
- EventManager.cs
- DisableDpiAwarenessAttribute.cs
- PropertyDescriptorGridEntry.cs
- ProviderManager.cs
- BitmapEffectGroup.cs
- ListDictionaryInternal.cs
- TextAdaptor.cs
- CountAggregationOperator.cs
- OrthographicCamera.cs
- Annotation.cs
- WeakReferenceEnumerator.cs
- VirtualizedCellInfoCollection.cs
- TextSelectionProcessor.cs
- ServiceBusyException.cs
- XamlTemplateSerializer.cs
- UInt64Converter.cs
- TemplateKeyConverter.cs
- Section.cs
- Control.cs
- WebCategoryAttribute.cs
- TraceInternal.cs
- WpfXamlMember.cs
- EntityParameter.cs
- ObjectFullSpanRewriter.cs
- CustomMenuItemCollection.cs
- COAUTHINFO.cs
- ControlParameter.cs
- ADMembershipUser.cs
- Keywords.cs
- ReadOnlyKeyedCollection.cs
- PageAction.cs
- HttpResponse.cs
- TextDecorationUnitValidation.cs
- DocumentViewerBaseAutomationPeer.cs
- SetStateDesigner.cs
- FocusManager.cs
- PolicyChain.cs
- CodeParameterDeclarationExpression.cs
- DiscreteKeyFrames.cs
- ConfigurationValidatorAttribute.cs
- Statements.cs
- DynamicObjectAccessor.cs
- BaseParser.cs
- ResXFileRef.cs
- TextBoxBase.cs
- TableSectionStyle.cs
- XmlNavigatorFilter.cs
- XmlAggregates.cs
- BuildProviderCollection.cs
- BitVector32.cs
- SQLMembershipProvider.cs
- BuilderPropertyEntry.cs
- MethodExecutor.cs
- XmlWellformedWriter.cs
- ChangePassword.cs
- ListViewGroupItemCollection.cs
- InheritanceAttribute.cs
- PrivilegeNotHeldException.cs
- DataListItemEventArgs.cs
- TextDecorationCollection.cs
- Evidence.cs
- WizardStepBase.cs
- ObjectParameterCollection.cs
- ProviderConnectionPoint.cs
- StringResourceManager.cs
- RelationshipWrapper.cs
- SerializationException.cs
- Timeline.cs
- WeakHashtable.cs
- ManifestResourceInfo.cs
- PowerModeChangedEventArgs.cs
- QilTargetType.cs
- VirtualPathProvider.cs
- ToolStripItemDataObject.cs
- _NTAuthentication.cs
- InstanceCreationEditor.cs
- HostedNamedPipeTransportManager.cs
- ButtonBase.cs
- Compilation.cs
- ConnectionManagementSection.cs
- BoolExpression.cs
- _LocalDataStoreMgr.cs
- SemanticAnalyzer.cs
- SQLInt32Storage.cs
- LocationReferenceValue.cs
- TraceSwitch.cs
- ImageEditor.cs
- AsymmetricKeyExchangeDeformatter.cs
- PropertyRecord.cs
- LowerCaseStringConverter.cs
- ObjectNotFoundException.cs
- HierarchicalDataBoundControl.cs