2006-12-07 Igor Zelmanovich <igorz@mainsoft.com>
[mono.git] / mcs / class / System.Web / System.Web.UI.WebControls / Calendar.cs
index e11784290353f52f6cdd239c2ebc71e2be41f328..ef9010ddc3e3b78788d0369f9af991c3269f229b 100644 (file)
@@ -1085,6 +1085,9 @@ namespace System.Web.UI.WebControls {
                        hasLink = (Page != null && hasLink == true) ? true : false;
 
                        if (hasLink) {
+#if NET_2_0
+                               Page.ClientScript.RegisterForEventValidation(this.UniqueID, arg);
+#endif                 
                                str = "<a href=\"";
                                str += Page.ClientScript.GetPostBackClientHyperlink (this, arg);
                                str += "\"";