Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGaurav Vaish <gvaish@mono-cvs.ximian.com>2002-03-26 22:09:44 +0300
committerGaurav Vaish <gvaish@mono-cvs.ximian.com>2002-03-26 22:09:44 +0300
commit2c920489cc07adf211f524b8b1575e91be779cc9 (patch)
treeb436458a813eb921cf4174c32e326f860bdcf3b1 /mcs/class/System.Web/System.Web.UI.WebControls/BaseCompareValidator.cs
parent50378fcdd2cf6fdb02969ee6685a46aa8dedc3d3 (diff)
2002-03-27 Gaurav Vaish <gvaish@iitk.ac.in>
* :: Adding attributes.... Work in progress, but I am damn too tired.. svn path=/trunk/mcs/; revision=3368
Diffstat (limited to 'mcs/class/System.Web/System.Web.UI.WebControls/BaseCompareValidator.cs')
-rwxr-xr-xmcs/class/System.Web/System.Web.UI.WebControls/BaseCompareValidator.cs13
1 files changed, 4 insertions, 9 deletions
diff --git a/mcs/class/System.Web/System.Web.UI.WebControls/BaseCompareValidator.cs b/mcs/class/System.Web/System.Web.UI.WebControls/BaseCompareValidator.cs
index 5a1d0e975e1..a918280d3e9 100755
--- a/mcs/class/System.Web/System.Web.UI.WebControls/BaseCompareValidator.cs
+++ b/mcs/class/System.Web/System.Web.UI.WebControls/BaseCompareValidator.cs
@@ -18,6 +18,7 @@ using System.Text;
using System.Text.RegularExpressions;
using System.Web;
using System.Web.UI;
+using System.ComponentModel;
namespace System.Web.UI.WebControls
{
@@ -33,6 +34,9 @@ namespace System.Web.UI.WebControls
return Convert(text, type, out o);
}
+ [DefaultValue(ValidationDataType.String)]
+ [WebCategory("Behaviour")]
+ [WebSysDescription("RangeValidator_Type")]
public ValidationDataType Type
{
get
@@ -50,15 +54,6 @@ namespace System.Web.UI.WebControls
}
}
- public override ControlCollection Controls
- {
- get
- {
- EnsureChildControls();
- return Controls;
- }
- }
-
protected static int CutoffYear
{
get