Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / DEVDIV / depot / DevDiv / releases / 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. // 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
- DataRowExtensions.cs
- IndependentAnimationStorage.cs
- Dynamic.cs
- FilterQuery.cs
- WebPartEditorCancelVerb.cs
- PresentationAppDomainManager.cs
- ServerIdentity.cs
- TraceEventCache.cs
- SqlHelper.cs
- SQLCharsStorage.cs
- AssemblyBuilder.cs
- cryptoapiTransform.cs
- ViewCellRelation.cs
- PriorityRange.cs
- XamlFigureLengthSerializer.cs
- GroupPartitionExpr.cs
- TreeBuilderBamlTranslator.cs
- HttpDebugHandler.cs
- CustomErrorsSection.cs
- StandardBindingOptionalReliableSessionElement.cs
- SupportsPreviewControlAttribute.cs
- SecurityPolicySection.cs
- AssemblyCollection.cs
- DesignerProperties.cs
- LinkLabel.cs
- AppDomainGrammarProxy.cs
- NumericUpDownAccelerationCollection.cs
- PEFileEvidenceFactory.cs
- ProcessModelInfo.cs
- UserMapPath.cs
- PropertyEmitterBase.cs
- ToolboxComponentsCreatingEventArgs.cs
- Constraint.cs
- Win32KeyboardDevice.cs
- RawStylusInputReport.cs
- Evidence.cs
- CancellationState.cs
- ImageMetadata.cs
- DataPagerFieldCommandEventArgs.cs
- WindowsListBox.cs
- DesignTimeSiteMapProvider.cs
- ReadOnlyDataSource.cs
- InstancePersistenceEvent.cs
- IdentityModelStringsVersion1.cs
- DataGridViewDataConnection.cs
- NonVisualControlAttribute.cs
- StreamingContext.cs
- ItemContainerGenerator.cs
- EdmSchemaAttribute.cs
- TagNameToTypeMapper.cs
- MatrixTransform3D.cs
- ToolStripMenuItemDesigner.cs
- List.cs
- Configuration.cs
- SspiSecurityToken.cs
- TextParagraphView.cs
- SmtpCommands.cs
- ApplicationCommands.cs
- XmlMemberMapping.cs
- BitStream.cs
- ResourcePool.cs
- WebControl.cs
- FontInfo.cs
- RawAppCommandInputReport.cs
- CodeMethodInvokeExpression.cs
- TableCellAutomationPeer.cs
- PropertyGridEditorPart.cs
- ParameterBuilder.cs
- DropDownList.cs
- HitTestParameters.cs
- Page.cs
- DefaultSerializationProviderAttribute.cs
- FileStream.cs
- ACL.cs
- XmlSchemaAny.cs
- HatchBrush.cs
- FactoryGenerator.cs
- ImageFormatConverter.cs
- OrthographicCamera.cs
- XmlChoiceIdentifierAttribute.cs
- AssemblyHash.cs
- XmlReturnReader.cs
- SoundPlayer.cs
- BamlLocalizerErrorNotifyEventArgs.cs
- PropertyChangedEventArgs.cs
- MetadataStore.cs
- EntityCommand.cs
- UpdateTranslator.cs
- SrgsGrammar.cs
- EventPrivateKey.cs
- StoragePropertyMapping.cs
- SaveFileDialog.cs
- RenamedEventArgs.cs
- ApplicationServiceManager.cs
- HttpHandlerActionCollection.cs
- BindingSourceDesigner.cs
- EntityParameter.cs
- ClientData.cs
- DbExpressionRules.cs
- PartialCachingAttribute.cs