New test.
[mono.git] / mcs / class / System.Web / System.Web.UI.HtmlControls / HtmlInputPassword.cs
index 68ed99706692a6acd88945e32202c9d05ff811c1..99db3113a04c221713442c6de4fc2af19647b63e 100644 (file)
@@ -40,6 +40,7 @@ namespace System.Web.UI.HtmlControls {
        // attributes
        [DefaultEvent ("ServerChange")]
        [ValidationProperty ("Value")]
+       [SupportsEventValidation]
        public class HtmlInputPassword : HtmlInputText, IPostBackDataHandler
        {
                public HtmlInputPassword ()
@@ -47,10 +48,6 @@ namespace System.Web.UI.HtmlControls {
                {
                }
 
-               public HtmlInputPassword (string type)
-                       : base (type)
-               {
-               }
 
                protected override void RenderAttributes (HtmlTextWriter writer)
                {