Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / DEVDIV / depot / DevDiv / releases / whidbey / QFE / ndp / fx / src / xsp / System / Web / UI / HtmlControls / HtmlInputReset.cs / 2 / HtmlInputReset.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* * HtmlInputReset.cs * * Copyright (c) 2000 Microsoft Corporation */ using System.ComponentModel; using System.Security.Permissions; namespace System.Web.UI.HtmlControls { // [DefaultEvent("")] [SupportsEventValidation] [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] public class HtmlInputReset : HtmlInputButton { /* * Creates an intrinsic Html INPUT type=reset control. */ ////// public HtmlInputReset() : base("reset") { } /* * Creates an intrinsic Html INPUT type=reset control. */ ///Initializes a new instance of a ///class using /// default values. /// public HtmlInputReset(string type) : base(type) { } [ Browsable(false), EditorBrowsable(EditorBrowsableState.Never) ] public override bool CausesValidation { get { return base.CausesValidation; } set { base.CausesValidation = value; } } [ Browsable(false), EditorBrowsable(EditorBrowsableState.Never) ] public override string ValidationGroup { get { return base.ValidationGroup; } set { base.ValidationGroup = value; } } [ Browsable(false), EditorBrowsable(EditorBrowsableState.Never) ] public new event EventHandler ServerClick { add { base.ServerClick += value; } remove { base.ServerClick -= value; } } internal override void RenderAttributesInternal(HtmlTextWriter writer) { // We didn't generate any server event for reset button in older version } } } // 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. // //----------------------------------------------------------------------------- /* * HtmlInputReset.cs * * Copyright (c) 2000 Microsoft Corporation */ using System.ComponentModel; using System.Security.Permissions; namespace System.Web.UI.HtmlControls { // [DefaultEvent("")] [SupportsEventValidation] [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] public class HtmlInputReset : HtmlInputButton { /* * Creates an intrinsic Html INPUT type=reset control. */ ////// public HtmlInputReset() : base("reset") { } /* * Creates an intrinsic Html INPUT type=reset control. */ ///Initializes a new instance of a ///class using /// default values. /// public HtmlInputReset(string type) : base(type) { } [ Browsable(false), EditorBrowsable(EditorBrowsableState.Never) ] public override bool CausesValidation { get { return base.CausesValidation; } set { base.CausesValidation = value; } } [ Browsable(false), EditorBrowsable(EditorBrowsableState.Never) ] public override string ValidationGroup { get { return base.ValidationGroup; } set { base.ValidationGroup = value; } } [ Browsable(false), EditorBrowsable(EditorBrowsableState.Never) ] public new event EventHandler ServerClick { add { base.ServerClick += value; } remove { base.ServerClick -= value; } } internal override void RenderAttributesInternal(HtmlTextWriter writer) { // We didn't generate any server event for reset button in older version } } } // 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
- SafeSecurityHelper.cs
- TypeValidationEventArgs.cs
- NotCondition.cs
- ReceiveContent.cs
- CLRBindingWorker.cs
- CodeMethodInvokeExpression.cs
- COM2EnumConverter.cs
- DropDownButton.cs
- XamlReader.cs
- ObjectListItemCollection.cs
- ServicePointManagerElement.cs
- AutomationPatternInfo.cs
- ElementAction.cs
- AdapterSwitches.cs
- EngineSite.cs
- CachedCompositeFamily.cs
- WmlControlAdapter.cs
- AssertSection.cs
- ObjectDisposedException.cs
- ThousandthOfEmRealPoints.cs
- CharacterMetricsDictionary.cs
- XmlDocumentViewSchema.cs
- NativeMethods.cs
- SelectedCellsCollection.cs
- ProfileModule.cs
- ResourcePermissionBase.cs
- SqlInternalConnectionTds.cs
- SoapMessage.cs
- ProjectionPath.cs
- TextAdaptor.cs
- MenuBase.cs
- DataServiceHost.cs
- SizeAnimation.cs
- DbProviderFactoriesConfigurationHandler.cs
- KeyEvent.cs
- DataKeyArray.cs
- RuntimeConfig.cs
- UriTemplateVariableQueryValue.cs
- StringFormat.cs
- ConfigurationManagerInternal.cs
- PerformanceCounter.cs
- QueryStringParameter.cs
- OdbcCommandBuilder.cs
- SizeAnimationClockResource.cs
- TypeSystem.cs
- UInt64Storage.cs
- X509ChainElement.cs
- TemplateModeChangedEventArgs.cs
- ChannelTracker.cs
- InheritanceContextChangedEventManager.cs
- CommandExpr.cs
- TableLayoutSettingsTypeConverter.cs
- ServicePointManager.cs
- ToolStripPanelSelectionGlyph.cs
- ApplicationFileParser.cs
- CompiledAction.cs
- SqlTrackingWorkflowInstance.cs
- SqlNotificationRequest.cs
- SiteMembershipCondition.cs
- ColorKeyFrameCollection.cs
- Stylesheet.cs
- FormViewInsertEventArgs.cs
- SynchronizingStream.cs
- DetailsViewUpdateEventArgs.cs
- LayoutTableCell.cs
- ParameterElementCollection.cs
- PackWebResponse.cs
- FacetValues.cs
- NavigateEvent.cs
- ObjectTypeMapping.cs
- TextEndOfLine.cs
- SqlNode.cs
- CompilerErrorCollection.cs
- RouteParametersHelper.cs
- MatrixCamera.cs
- XPathSingletonIterator.cs
- DataKeyPropertyAttribute.cs
- TdsParserSessionPool.cs
- XPathSingletonIterator.cs
- MULTI_QI.cs
- DebugControllerThread.cs
- ListBoxAutomationPeer.cs
- SessionEndingCancelEventArgs.cs
- Win32.cs
- DataGridViewCellEventArgs.cs
- VisualProxy.cs
- DocumentSequence.cs
- AnnotationDocumentPaginator.cs
- Comparer.cs
- ObjectPersistData.cs
- InvalidComObjectException.cs
- GestureRecognitionResult.cs
- MemberAccessException.cs
- DataObjectCopyingEventArgs.cs
- DataGridViewDataErrorEventArgs.cs
- ReflectionTypeLoadException.cs
- Wizard.cs
- DbConnectionStringBuilder.cs
- URLMembershipCondition.cs
- Literal.cs