New test.
[mono.git] / mcs / class / System.Web / System.Web.UI.HtmlControls / HtmlInputReset.cs
index 294c264d66f5289a41f799ca568dc9c3148a3383..00be2772e24cab92bc1a29b14d4d6c9c6f53c6b2 100644 (file)
@@ -38,6 +38,7 @@ namespace System.Web.UI.HtmlControls {
        [AspNetHostingPermission (SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
        // attributes
        [DefaultEventAttribute ("")]
+       [SupportsEventValidation]
        public class HtmlInputReset : HtmlInputButton
        {
                private static readonly object ServerClickEvent = new object();
@@ -65,7 +66,7 @@ namespace System.Web.UI.HtmlControls {
 
                [Browsable (false)]
                [EditorBrowsable (EditorBrowsableState.Never)]
-               public new string ValidationGroup
+               public override string ValidationGroup
                {
                        get {
                                return ViewState.GetString ("ValidationGroup", "");