diff options
author | Sebastien Pouliot <sebastien@ximian.com> | 2005-09-19 22:08:33 +0400 |
---|---|---|
committer | Sebastien Pouliot <sebastien@ximian.com> | 2005-09-19 22:08:33 +0400 |
commit | 87102f681d4d5c26035ac8d9330a4dfaf039690c (patch) | |
tree | 84f33bb9c89852944a5cd8eee84ba55f2f48f76e /mcs/class/System.Web/System.Web.UI.HtmlControls/HtmlInputButton.cs | |
parent | 52befb0ae938cdc6218b898b2fad998206605afd (diff) |
2005-09-19 Sebastien Pouliot <sebastien@ximian.com>
* HtmlAnchor.cs: Added [SupportsEventValidation] on class and
[UrlProperty] on HRef property for 2.0.
* HtmlButton.cs: Added [SupportsEventValidation] for 2.0.
* HtmlHead.cs: Remove IPageHeader interface.
* HtmlImage.cs: Added [UrlProperty] on Src property for 2.0.
* HtmlInputButton.cs: Added [SupportsEventValidation] for 2.0.
* HtmlInputCheckBox.cs: Added [SupportsEventValidation] for 2.0.
* HtmlInputHidden.cs: Added [SupportsEventValidation] for 2.0.
* HtmlInputImage.cs: Added [SupportsEventValidation] on class and
[UrlProperty] on Src property for 2.0.
* HtmlInputPassword.cs: Added [SupportsEventValidation].
* HtmlInputRadioButton.cs: Added [SupportsEventValidation] for 2.0.
* HtmlInputReset.cs: Added [SupportsEventValidation].
* HtmlInputSubmit.cs: Added [SupportsEventValidation].
* HtmlInputText.cs: Added [SupportsEventValidation] on class and
re-enabled RenderAttribute for 2.0.
* HtmlLink.cs: Added [UrlProperty] on HRef property for 2.0.
* HtmlSelect.cs: Added [SupportsEventValidation] for 2.0.
* HtmlTextArea.cs: Added [SupportsEventValidation] for 2.0.
svn path=/trunk/mcs/; revision=50248
Diffstat (limited to 'mcs/class/System.Web/System.Web.UI.HtmlControls/HtmlInputButton.cs')
-rw-r--r-- | mcs/class/System.Web/System.Web.UI.HtmlControls/HtmlInputButton.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mcs/class/System.Web/System.Web.UI.HtmlControls/HtmlInputButton.cs b/mcs/class/System.Web/System.Web.UI.HtmlControls/HtmlInputButton.cs index 370e6d49dae..33cf0902553 100644 --- a/mcs/class/System.Web/System.Web.UI.HtmlControls/HtmlInputButton.cs +++ b/mcs/class/System.Web/System.Web.UI.HtmlControls/HtmlInputButton.cs @@ -36,6 +36,9 @@ namespace System.Web.UI.HtmlControls { [AspNetHostingPermission (SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)] // attributes [DefaultEventAttribute ("ServerClick")] +#if NET_2_0 + [SupportsEventValidation] +#endif public class HtmlInputButton : HtmlInputControl, IPostBackEventHandler { private static readonly object ServerClickEvent = new object(); |