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
- FreezableOperations.cs
- Polyline.cs
- DataListDesigner.cs
- XamlSerializerUtil.cs
- UIElement3D.cs
- ADConnectionHelper.cs
- ServiceChannelManager.cs
- XmlSchemaImporter.cs
- EnumerationRangeValidationUtil.cs
- _NegoState.cs
- ExpressionVisitorHelpers.cs
- RunWorkerCompletedEventArgs.cs
- FontResourceCache.cs
- webeventbuffer.cs
- Helpers.cs
- FixedTextPointer.cs
- Component.cs
- ColumnHeader.cs
- CompositeScriptReferenceEventArgs.cs
- Deflater.cs
- TypeGeneratedEventArgs.cs
- SmiContextFactory.cs
- X509Utils.cs
- DocumentXPathNavigator.cs
- BitmapImage.cs
- DropDownButton.cs
- BinaryConverter.cs
- AspNetHostingPermission.cs
- ObjectQuery.cs
- CardSpaceShim.cs
- TimeSpanParse.cs
- TableAutomationPeer.cs
- HwndKeyboardInputProvider.cs
- Command.cs
- PointCollection.cs
- DatatypeImplementation.cs
- ObjectRef.cs
- DrawingGroupDrawingContext.cs
- CachedCompositeFamily.cs
- DeadCharTextComposition.cs
- RadioButtonStandardAdapter.cs
- Substitution.cs
- SymLanguageVendor.cs
- MenuCommandService.cs
- GeometryCollection.cs
- ComPlusTraceRecord.cs
- StyleSheet.cs
- WebCategoryAttribute.cs
- EditorPart.cs
- CacheMemory.cs
- HostSecurityManager.cs
- DesignerForm.cs
- NTAccount.cs
- Translator.cs
- TextBoxLine.cs
- ImageMetadata.cs
- XmlSecureResolver.cs
- GlobalizationAssembly.cs
- WebScriptEnablingBehavior.cs
- XmlSchemaObjectTable.cs
- SqlConnectionPoolGroupProviderInfo.cs
- SmiContextFactory.cs
- WorkflowItemsPresenter.cs
- CompilationRelaxations.cs
- __ConsoleStream.cs
- OdbcCommand.cs
- DataTableNewRowEvent.cs
- ConnectionStringSettings.cs
- TemplateControlParser.cs
- FlowDocumentPageViewerAutomationPeer.cs
- MergablePropertyAttribute.cs
- InvokeSchedule.cs
- TdsParserStaticMethods.cs
- SafeNativeMethods.cs
- ConfigurationLocationCollection.cs
- MultipartContentParser.cs
- RegexParser.cs
- Funcletizer.cs
- TextTreeUndoUnit.cs
- WindowsListViewItemStartMenu.cs
- ShaderRenderModeValidation.cs
- AttributeParameterInfo.cs
- LocatorBase.cs
- MouseButtonEventArgs.cs
- AuthorizationRule.cs
- DataGridViewDataErrorEventArgs.cs
- X509Chain.cs
- MouseButton.cs
- SqlConnectionString.cs
- CodePageUtils.cs
- MemberRestriction.cs
- DeviceFiltersSection.cs
- ParseChildrenAsPropertiesAttribute.cs
- Slider.cs
- NativeObjectSecurity.cs
- CodeTypeDeclaration.cs
- NumericUpDown.cs
- DiscoveryDocumentLinksPattern.cs
- WeakRefEnumerator.cs
- BinaryCommonClasses.cs