Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- WebConfigurationHost.cs
- DatePickerTextBox.cs
- MessageSmuggler.cs
- ViewGenerator.cs
- SelfIssuedAuthRSAPKCS1SignatureDeformatter.cs
- SignatureGenerator.cs
- X509CertificateClaimSet.cs
- TraceLog.cs
- GlyphRunDrawing.cs
- XsdBuilder.cs
- DoubleLinkListEnumerator.cs
- InternalSafeNativeMethods.cs
- ReadContentAsBinaryHelper.cs
- ListViewGroupConverter.cs
- SerializationFieldInfo.cs
- WebResourceUtil.cs
- PipelineModuleStepContainer.cs
- Function.cs
- PreservationFileReader.cs
- XmlSecureResolver.cs
- DataSysAttribute.cs
- Wizard.cs
- EventBindingService.cs
- ListControlBoundActionList.cs
- XMLUtil.cs
- ChannelFactory.cs
- ConfigDefinitionUpdates.cs
- DbCommandTree.cs
- PeerCollaboration.cs
- ToolStripSettings.cs
- PolicyLevel.cs
- FolderBrowserDialogDesigner.cs
- BaseTemplateParser.cs
- ListViewAutomationPeer.cs
- Solver.cs
- CommandBinding.cs
- PathFigure.cs
- WebMessageEncodingElement.cs
- XmlSchemaValidator.cs
- WebFormsRootDesigner.cs
- FontNameEditor.cs
- TypeCollectionDesigner.xaml.cs
- ToolStripItemCollection.cs
- HttpRuntime.cs
- URI.cs
- MutexSecurity.cs
- TdsParserHelperClasses.cs
- DataGridViewSelectedCellCollection.cs
- ToolStripItemTextRenderEventArgs.cs
- DataFormats.cs
- InvokeSchedule.cs
- BitmapEffectInputConnector.cs
- SerializerDescriptor.cs
- CryptoHelper.cs
- HtmlLink.cs
- FunctionImportMapping.ReturnTypeRenameMapping.cs
- SqlRowUpdatedEvent.cs
- ImageField.cs
- DocumentGrid.cs
- PolygonHotSpot.cs
- SystemResourceHost.cs
- MemberDescriptor.cs
- DESCryptoServiceProvider.cs
- XmlSchemaObject.cs
- CompositeKey.cs
- DataTransferEventArgs.cs
- DecimalAnimationBase.cs
- DocumentViewerConstants.cs
- SplitterPanel.cs
- RotationValidation.cs
- WaitForChangedResult.cs
- HttpClientCertificate.cs
- TimeSpanSecondsConverter.cs
- ConfigDefinitionUpdates.cs
- DefaultValidator.cs
- WorkflowPrinting.cs
- GeometryDrawing.cs
- ButtonFlatAdapter.cs
- CodeEntryPointMethod.cs
- MetadataArtifactLoaderComposite.cs
- DebugController.cs
- SparseMemoryStream.cs
- TemplatePropertyEntry.cs
- RSAProtectedConfigurationProvider.cs
- DateTimeOffsetConverter.cs
- XPathChildIterator.cs
- Tool.cs
- TraceHandler.cs
- EFTableProvider.cs
- Tracer.cs
- ObjectView.cs
- DropShadowEffect.cs
- ApplicationServiceManager.cs
- BuildProvider.cs
- ConnectionPointGlyph.cs
- VirtualDirectoryMappingCollection.cs
- PaintEvent.cs
- RefreshPropertiesAttribute.cs
- KeyConverter.cs
- FastEncoderWindow.cs