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
- QilLiteral.cs
- PolicyException.cs
- PostBackTrigger.cs
- UpWmlPageAdapter.cs
- PenLineJoinValidation.cs
- SqlDataSourceView.cs
- WpfWebRequestHelper.cs
- ListView.cs
- WebPartDisplayModeEventArgs.cs
- ServiceDurableInstanceContextProvider.cs
- DropDownButton.cs
- NullPackagingPolicy.cs
- ContentElementAutomationPeer.cs
- MsmqBindingElementBase.cs
- TemplateBindingExtension.cs
- SafeFileMapViewHandle.cs
- Focus.cs
- XmlCountingReader.cs
- WindowVisualStateTracker.cs
- Serializer.cs
- NameSpaceExtractor.cs
- TextDocumentView.cs
- TextEditorTables.cs
- SafeMarshalContext.cs
- ResourceContainer.cs
- PreviewPageInfo.cs
- SessionStateUtil.cs
- DataGridViewLayoutData.cs
- ProtectedProviderSettings.cs
- FutureFactory.cs
- DESCryptoServiceProvider.cs
- RenamedEventArgs.cs
- TypeInfo.cs
- RuntimeEnvironment.cs
- EtwTrace.cs
- OpenTypeLayout.cs
- EpmHelper.cs
- ToolBarButtonClickEvent.cs
- BoundingRectTracker.cs
- CreateUserWizard.cs
- OrthographicCamera.cs
- DrawingVisual.cs
- ValueConversionAttribute.cs
- StrongNameKeyPair.cs
- GridEntry.cs
- MarkedHighlightComponent.cs
- BaseCAMarshaler.cs
- LabelExpression.cs
- EntityAdapter.cs
- NotificationContext.cs
- DragStartedEventArgs.cs
- PathData.cs
- XmlWriter.cs
- Int32EqualityComparer.cs
- Screen.cs
- FontStretchConverter.cs
- DesigntimeLicenseContextSerializer.cs
- BitmapMetadata.cs
- TableParagraph.cs
- XamlToRtfParser.cs
- Decorator.cs
- AutomationEventArgs.cs
- XComponentModel.cs
- WindowsFormsHost.cs
- MappingModelBuildProvider.cs
- MetadataCacheItem.cs
- HttpConfigurationSystem.cs
- OdbcConnectionStringbuilder.cs
- FontConverter.cs
- TimeSpan.cs
- MenuBindingsEditorForm.cs
- RoutedEventArgs.cs
- ListItemViewAttribute.cs
- OdbcError.cs
- PersonalizationAdministration.cs
- SqlTriggerContext.cs
- _SSPIWrapper.cs
- TypeNameConverter.cs
- precedingsibling.cs
- LabelLiteral.cs
- ImageField.cs
- DecimalConverter.cs
- InputBuffer.cs
- Config.cs
- InvalidAsynchronousStateException.cs
- ReadOnlyDataSource.cs
- HostSecurityManager.cs
- MatrixAnimationUsingKeyFrames.cs
- MailMessage.cs
- NamespaceList.cs
- ArrayList.cs
- Preprocessor.cs
- CompressedStack.cs
- CodeIndexerExpression.cs
- StickyNoteContentControl.cs
- ValueConversionAttribute.cs
- XmlSerializableServices.cs
- ProcessModelSection.cs
- Constraint.cs
- XmlByteStreamWriter.cs