2002-10-08 Gaurav Vaish <gvaish_mono AT lycos.com>
authorGaurav Vaish <gvaish@mono-cvs.ximian.com>
Wed, 8 Oct 2003 19:11:06 +0000 (19:11 -0000)
committerGaurav Vaish <gvaish@mono-cvs.ximian.com>
Wed, 8 Oct 2003 19:11:06 +0000 (19:11 -0000)
* WebControl.cs         : Attributes { get; }       - Is Complete.
* ValidationSummary.cs  : AddAttributesToRender(HtmlTextWriter)
                                                    - Completed.

svn path=/trunk/mcs/; revision=18765

mcs/class/System.Web/System.Web.UI.WebControls/ChangeLog
mcs/class/System.Web/System.Web.UI.WebControls/ValidationSummary.cs
mcs/class/System.Web/System.Web.UI.WebControls/WebControl.cs

index f069a32016889fa7eb5dcb5898c4254caf037779..7569f7120537d3d94d4db1bbb73d66e899194932 100644 (file)
@@ -1,4 +1,10 @@
 
+2002-10-08  Gaurav Vaish <gvaish_mono AT lycos.com>
+
+       * WebControl.cs         : Attributes { get; }       - Is Complete.
+       * ValidationSummary.cs  : AddAttributesToRender(HtmlTextWriter)
+                                                           - Completed.
+
 2002-10-08  Gaurav Vaish <gvaish_mono AT lycos.com>
 
        * BaseValidator.cs      : DetermineRenderUplevel()  - Completed.
index 183cd58dd0270df573108414b374826ea7cf953c..07d137b619eb177219c46b460692cc69b8b299c9 100644 (file)
@@ -127,15 +127,13 @@ namespace System.Web.UI.WebControls
                        }\r
                }\r
 \r
-               [MonoTODO("FIXME_See_Comments")]\r
                protected override void AddAttributesToRender(HtmlTextWriter writer)\r
                {\r
                        AddAttributesToRender(writer);\r
                        if(uplevelRender)\r
                        {\r
-                               //FIXME: This is not the case always. I forgot the case when it is absent.\r
-                               // something to do with the ID's value? or ClienID's value itself?\r
-                               writer.AddAttribute("id", ClientID);\r
+                               if(ID == null || ID.Length == 0)\r
+                                       writer.AddAttribute("id", ClientID);\r
                                if(HeaderText.Length > 0)\r
                                        writer.AddAttribute("headertext", HeaderText, true);\r
                                if(ShowMessageBox)\r
index 3239df6c9e2f108d9bff1bf6053eaa75d0d280e9..3f27da2d8b2e431331da0a6ec69ee15817beef10 100755 (executable)
@@ -62,7 +62,6 @@ namespace System.Web.UI.WebControls
                        }\r
                }\r
 \r
-               [MonoTODO("FIXME_Internal_method_calls")]
                [Browsable (false), DesignerSerializationVisibility (DesignerSerializationVisibility.Hidden)]
                [WebSysDescription ("Attribute tags for the Webcontrol.")]\r
                public AttributeCollection Attributes\r