Bläddra i källkod

2002-10-08 Gaurav Vaish <gvaish_mono AT lycos.com>

* WebControl.cs         : Attributes { get; }       - Is Complete.
* ValidationSummary.cs  : AddAttributesToRender(HtmlTextWriter)
                                                    - Completed.

svn path=/trunk/mcs/; revision=18765
Gaurav Vaish 22 år sedan
förälder
incheckning
58e45ccb97

+ 6 - 0
mcs/class/System.Web/System.Web.UI.WebControls/ChangeLog

@@ -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.

+ 2 - 4
mcs/class/System.Web/System.Web.UI.WebControls/ValidationSummary.cs

@@ -127,15 +127,13 @@ namespace System.Web.UI.WebControls
 			}
 		}
 
-		[MonoTODO("FIXME_See_Comments")]
 		protected override void AddAttributesToRender(HtmlTextWriter writer)
 		{
 			AddAttributesToRender(writer);
 			if(uplevelRender)
 			{
-				//FIXME: This is not the case always. I forgot the case when it is absent.
-				// something to do with the ID's value? or ClienID's value itself?
-				writer.AddAttribute("id", ClientID);
+				if(ID == null || ID.Length == 0)
+					writer.AddAttribute("id", ClientID);
 				if(HeaderText.Length > 0)
 					writer.AddAttribute("headertext", HeaderText, true);
 				if(ShowMessageBox)

+ 0 - 1
mcs/class/System.Web/System.Web.UI.WebControls/WebControl.cs

@@ -62,7 +62,6 @@ namespace System.Web.UI.WebControls
 			}
 		}
 
-		[MonoTODO("FIXME_Internal_method_calls")]
 		[Browsable (false), DesignerSerializationVisibility (DesignerSerializationVisibility.Hidden)]
 		[WebSysDescription ("Attribute tags for the Webcontrol.")]
 		public AttributeCollection Attributes