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
- StrokeCollection.cs
- MouseOverProperty.cs
- CreateUserWizard.cs
- OracleInternalConnection.cs
- Int32AnimationUsingKeyFrames.cs
- HandlerWithFactory.cs
- SourceFileBuildProvider.cs
- PipelineComponent.cs
- HyperLinkStyle.cs
- FolderLevelBuildProvider.cs
- FormParameter.cs
- Pointer.cs
- HttpWebResponse.cs
- Geometry.cs
- ThrowHelper.cs
- translator.cs
- PropertyMapper.cs
- ActiveXHost.cs
- XPathItem.cs
- CalloutQueueItem.cs
- WorkflowTransactionOptions.cs
- Crc32.cs
- KnownTypeHelper.cs
- MailAddressParser.cs
- FaultContext.cs
- EndEvent.cs
- SiteMapSection.cs
- SafeRightsManagementSessionHandle.cs
- ObjectItemAssemblyLoader.cs
- XLinq.cs
- RectAnimation.cs
- SqlTransaction.cs
- ProjectionNode.cs
- ConnectionInterfaceCollection.cs
- ColumnHeaderConverter.cs
- CodeGroup.cs
- MarshalDirectiveException.cs
- TextClipboardData.cs
- KeySpline.cs
- SQLGuid.cs
- MediaContextNotificationWindow.cs
- SamlAttributeStatement.cs
- RegexStringValidatorAttribute.cs
- ServiceBusyException.cs
- AssociationEndMember.cs
- CreateUserWizard.cs
- VersionedStreamOwner.cs
- Debug.cs
- SelectedDatesCollection.cs
- NavigationPropertyEmitter.cs
- OdbcEnvironment.cs
- XamlParser.cs
- RadioButtonPopupAdapter.cs
- MruCache.cs
- QueryInterceptorAttribute.cs
- DoubleUtil.cs
- SqlPersonalizationProvider.cs
- FacetValueContainer.cs
- SystemResourceHost.cs
- AutomationProperties.cs
- TimelineGroup.cs
- GenerateTemporaryTargetAssembly.cs
- IriParsingElement.cs
- TextBoxRenderer.cs
- UxThemeWrapper.cs
- ModelItem.cs
- BaseTemplatedMobileComponentEditor.cs
- TickBar.cs
- ConsumerConnectionPoint.cs
- Win32Native.cs
- ValidatorUtils.cs
- ContentControl.cs
- HttpErrorTraceRecord.cs
- IntellisenseTextBox.cs
- TimelineCollection.cs
- LogReserveAndAppendState.cs
- MapPathBasedVirtualPathProvider.cs
- WebPartAddingEventArgs.cs
- CommunicationObjectFaultedException.cs
- Enum.cs
- errorpatternmatcher.cs
- Int16Converter.cs
- FixedSOMLineRanges.cs
- TextEffect.cs
- HostedTransportConfigurationManager.cs
- BridgeDataRecord.cs
- SortQuery.cs
- ExpressionBindings.cs
- MailSettingsSection.cs
- TextEditorMouse.cs
- XmlAttributeAttribute.cs
- ViewManager.cs
- MILUtilities.cs
- GetIsBrowserClientRequest.cs
- DataGridViewCellParsingEventArgs.cs
- PageAsyncTaskManager.cs
- DataGridViewRowCollection.cs
- DecoderReplacementFallback.cs
- TabPanel.cs
- CqlGenerator.cs