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.
*/
///
/// Initializes a new instance of a class using
/// default values.
///
public HtmlInputReset() : base("reset") {
}
/*
* Creates an intrinsic Html INPUT type=reset control.
*/
///
/// Initializes a new instance of a class using the
/// specified string.
///
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.
//------------------------------------------------------------------------------
//
// 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.
*/
///
/// Initializes a new instance of a class using
/// default values.
///
public HtmlInputReset() : base("reset") {
}
/*
* Creates an intrinsic Html INPUT type=reset control.
*/
///
/// Initializes a new instance of a class using the
/// specified string.
///
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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ObjectParameter.cs
- EdmRelationshipRoleAttribute.cs
- Renderer.cs
- DataGridAutoFormatDialog.cs
- LoadRetryConstantStrategy.cs
- OleTxTransactionInfo.cs
- Cursor.cs
- EnvironmentPermission.cs
- Avt.cs
- LinqDataSourceView.cs
- HttpTransportBindingElement.cs
- EventProviderWriter.cs
- DataGridState.cs
- KeySpline.cs
- UidManager.cs
- OrCondition.cs
- Merger.cs
- BufferedGraphicsContext.cs
- HitTestWithPointDrawingContextWalker.cs
- CodeBinaryOperatorExpression.cs
- EncryptedType.cs
- ColumnHeaderCollectionEditor.cs
- JsonCollectionDataContract.cs
- SafeNativeMethods.cs
- RectangleF.cs
- ScrollData.cs
- ProgressBar.cs
- GestureRecognizer.cs
- WebPartConnectionsConfigureVerb.cs
- ImagingCache.cs
- CollectionBuilder.cs
- SingleTagSectionHandler.cs
- View.cs
- NetworkAddressChange.cs
- AutomationPropertyInfo.cs
- DataControlImageButton.cs
- GlobalizationAssembly.cs
- UserCancellationException.cs
- DataTableCollection.cs
- DbTransaction.cs
- filewebresponse.cs
- FontInfo.cs
- LocatorPartList.cs
- BooleanFunctions.cs
- Thread.cs
- EntityConnectionStringBuilderItem.cs
- CodeCatchClause.cs
- RawAppCommandInputReport.cs
- StrongTypingException.cs
- _TLSstream.cs
- VisualStyleTypesAndProperties.cs
- InvalidPropValue.cs
- DependencyObject.cs
- SafeViewOfFileHandle.cs
- StrongNameKeyPair.cs
- RtfToken.cs
- ObjectNotFoundException.cs
- IntegerFacetDescriptionElement.cs
- TextFormatterContext.cs
- ToolStripRenderer.cs
- TextViewElement.cs
- SmiEventSink_DeferedProcessing.cs
- PageContentCollection.cs
- HtmlShim.cs
- TabItemAutomationPeer.cs
- ZipIOExtraFieldZip64Element.cs
- NamedPermissionSet.cs
- QueryReaderSettings.cs
- FigureParaClient.cs
- SecurityIdentifierConverter.cs
- BatchServiceHost.cs
- XPathMultyIterator.cs
- DataStreams.cs
- ClientEventManager.cs
- UncommonField.cs
- HttpClientCertificate.cs
- FileSecurity.cs
- Main.cs
- WorkflowRequestContext.cs
- NamespaceInfo.cs
- ReaderWriterLockSlim.cs
- TemplateBuilder.cs
- KeyInfo.cs
- ResourceExpressionEditorSheet.cs
- IntellisenseTextBox.designer.cs
- Trigger.cs
- DoubleIndependentAnimationStorage.cs
- GridViewCancelEditEventArgs.cs
- IntSecurity.cs
- TimeZoneNotFoundException.cs
- StructuredProperty.cs
- BrowserCapabilitiesCompiler.cs
- AppDomain.cs
- XmlSchemaAll.cs
- LabelEditEvent.cs
- UpdateManifestForBrowserApplication.cs
- Blend.cs
- SystemGatewayIPAddressInformation.cs
- ToolStripScrollButton.cs
- TextServicesDisplayAttribute.cs