Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ButtonBaseAutomationPeer.cs
- FormatVersion.cs
- TraceHwndHost.cs
- ToolboxItem.cs
- StateManagedCollection.cs
- CodePageEncoding.cs
- HttpAsyncResult.cs
- HwndHostAutomationPeer.cs
- PathSegment.cs
- HttpApplicationStateWrapper.cs
- NotifyInputEventArgs.cs
- CodeRegionDirective.cs
- DetailsViewDeletedEventArgs.cs
- SHA1Managed.cs
- SqlDataSource.cs
- XmlRootAttribute.cs
- filewebrequest.cs
- DataGridViewAccessibleObject.cs
- ResolveNameEventArgs.cs
- WSDualHttpBindingCollectionElement.cs
- PieceDirectory.cs
- LoginNameDesigner.cs
- CloudCollection.cs
- TabOrder.cs
- HierarchicalDataSourceControl.cs
- StrokeNode.cs
- ScriptHandlerFactory.cs
- LinqDataSourceHelper.cs
- WorkflowEnvironment.cs
- DocumentViewerBaseAutomationPeer.cs
- OleAutBinder.cs
- ByteStreamBufferedMessageData.cs
- ErrorFormatter.cs
- SharedPersonalizationStateInfo.cs
- IpcServerChannel.cs
- Shape.cs
- DataControlFieldCollection.cs
- SelectorItemAutomationPeer.cs
- RefreshPropertiesAttribute.cs
- InvalidOperationException.cs
- XappLauncher.cs
- FontFamily.cs
- WorkflowInstanceProvider.cs
- Policy.cs
- DictionaryEditChange.cs
- CollectionViewGroupInternal.cs
- HttpDictionary.cs
- MultiAsyncResult.cs
- BindingManagerDataErrorEventArgs.cs
- PropertyFilterAttribute.cs
- VirtualizedContainerService.cs
- HitTestWithPointDrawingContextWalker.cs
- XmlAttributeOverrides.cs
- AutomationPatternInfo.cs
- SystemColors.cs
- SrgsElement.cs
- DeclaredTypeElementCollection.cs
- StringFreezingAttribute.cs
- SystemIPGlobalStatistics.cs
- RuntimeCompatibilityAttribute.cs
- DrawingImage.cs
- DashStyle.cs
- XmlBinaryReader.cs
- DataGridViewRowPrePaintEventArgs.cs
- ProfileServiceManager.cs
- RowBinding.cs
- DBSqlParserColumn.cs
- StylusDownEventArgs.cs
- DbParameterCollectionHelper.cs
- MatrixTransform3D.cs
- DoubleLinkListEnumerator.cs
- KeyboardDevice.cs
- SecureConversationVersion.cs
- FixedSOMImage.cs
- XhtmlBasicCalendarAdapter.cs
- TriggerAction.cs
- XmlByteStreamReader.cs
- InheritanceAttribute.cs
- EngineSite.cs
- WebRequestModulesSection.cs
- SqlDataSourceFilteringEventArgs.cs
- FormCollection.cs
- SmiTypedGetterSetter.cs
- InvalidAsynchronousStateException.cs
- NativeMethods.cs
- ColumnMap.cs
- NewArrayExpression.cs
- DurationConverter.cs
- ReplacementText.cs
- SEHException.cs
- StringUtil.cs
- MimeWriter.cs
- ListViewGroupConverter.cs
- PointUtil.cs
- CompModSwitches.cs
- WindowsAltTab.cs
- SnapshotChangeTrackingStrategy.cs
- HighlightComponent.cs
- DebuggerAttributes.cs
- ListInitExpression.cs