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
- Point3DCollectionConverter.cs
- Style.cs
- HtmlTextArea.cs
- IsolatedStorageSecurityState.cs
- FixedPageAutomationPeer.cs
- ZipIOExtraFieldElement.cs
- SuppressMergeCheckAttribute.cs
- TextTreeObjectNode.cs
- HtmlObjectListAdapter.cs
- ScriptDescriptor.cs
- SimpleMailWebEventProvider.cs
- JsonWriter.cs
- DescendantOverDescendantQuery.cs
- Permission.cs
- sqlser.cs
- QilList.cs
- FastEncoderWindow.cs
- SoapEnumAttribute.cs
- TextReader.cs
- PropertyGeneratedEventArgs.cs
- EventLog.cs
- GenericAuthenticationEventArgs.cs
- Subset.cs
- ResourcePermissionBaseEntry.cs
- ToolStripItemEventArgs.cs
- MaskInputRejectedEventArgs.cs
- TypeSource.cs
- TypeForwardedToAttribute.cs
- PermissionToken.cs
- Int32Storage.cs
- EventHandlingScope.cs
- OracleParameterBinding.cs
- BamlLocalizableResource.cs
- StaticExtension.cs
- ThreadStaticAttribute.cs
- SqlParameter.cs
- StructuredProperty.cs
- GenericEnumerator.cs
- oledbmetadatacolumnnames.cs
- ExpressionReplacer.cs
- ChtmlTextWriter.cs
- EntityContainerEntitySet.cs
- MarshalDirectiveException.cs
- GridEntryCollection.cs
- HwndHost.cs
- TableSectionStyle.cs
- SpeechEvent.cs
- PlanCompiler.cs
- WebBrowserBase.cs
- LayoutEvent.cs
- PrePostDescendentsWalker.cs
- ObjectManager.cs
- DropShadowEffect.cs
- TabControlDesigner.cs
- PackageRelationship.cs
- ToolboxDataAttribute.cs
- SqlConnectionPoolProviderInfo.cs
- Invariant.cs
- EntityStoreSchemaGenerator.cs
- PropertyItem.cs
- ValueQuery.cs
- Emitter.cs
- FamilyCollection.cs
- MessageTraceRecord.cs
- MinMaxParagraphWidth.cs
- SiteMap.cs
- SmtpSection.cs
- CustomErrorsSection.cs
- DefaultTraceListener.cs
- ExceptionUtil.cs
- ResourceAssociationSet.cs
- PriorityChain.cs
- PkcsUtils.cs
- InputLanguage.cs
- AnnotationResourceCollection.cs
- AlternateViewCollection.cs
- TextPointerBase.cs
- EventNotify.cs
- Model3D.cs
- AsymmetricSignatureDeformatter.cs
- TaskFileService.cs
- DataGridRowClipboardEventArgs.cs
- SuppressIldasmAttribute.cs
- DesignerView.cs
- DocumentPage.cs
- ResponseStream.cs
- XmlSchemaCollection.cs
- TreePrinter.cs
- ByteAnimationUsingKeyFrames.cs
- StyleConverter.cs
- ElementNotEnabledException.cs
- InstallerTypeAttribute.cs
- NumberFormatInfo.cs
- Int32RectValueSerializer.cs
- MergeLocalizationDirectives.cs
- TemplateBuilder.cs
- MobileErrorInfo.cs
- WorkflowViewElement.cs
- Matrix.cs
- SparseMemoryStream.cs