Browse Source

2008-02-07 Igor Zelmanovich <[email protected]>

	* Login.cs: render id attribute of root element correctly.


svn path=/trunk/mcs/; revision=95126
Igor Zelmanovich 18 years ago
parent
commit
ec84c72da5

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

@@ -1,3 +1,7 @@
+2008-02-07 Igor Zelmanovich <[email protected]>
+
+	* Login.cs: render id attribute of root element correctly.
+
 2008-02-05  Marek Habersack  <[email protected]>
 
 	* FileUpload.cs: make sure FileContent always returns the input

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

@@ -60,6 +60,12 @@ namespace System.Web.UI.WebControls {
 				ID = _owner.ID;
 			}
 
+			public override string ClientID {
+				get {
+					return _owner.ClientID;
+				}
+			}
+
 			public void InstantiateTemplate (ITemplate template)
 			{
 				template.InstantiateIn (_containerCell);