[Mono-bugs] [Bug 76815][Nor] Changed - Controls.Add method not working in HTML objects

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Nov 30 14:02:13 EST 2005


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by gallarr at hotmail.com.

http://bugzilla.ximian.com/show_bug.cgi?id=76815

--- shadow/76815	2005-11-28 17:41:10.000000000 -0500
+++ shadow/76815.tmp.21285	2005-11-30 14:02:13.000000000 -0500
@@ -1,13 +1,13 @@
 Bug#: 76815
 Product: Mono: Class Libraries
 Version: 1.1
 OS: Red Hat 9.0
 OS Details: i386
-Status: RESOLVED   
-Resolution: FIXED
+Status: REOPENED   
+Resolution: 
 Severity: Unknown
 Priority: Normal
 Component: Sys.Web
 AssignedTo: gonzalo at ximian.com                            
 ReportedBy: gallarr at hotmail.com               
 QAContact: mono-bugs at ximian.com
@@ -136,6 +136,34 @@
 ------- Additional Comments From gallarr at hotmail.com  2005-11-25 04:10 -------
 No (that's why I entered the bug, cuate)
 
 ------- Additional Comments From gonzalo at ximian.com  2005-11-28 17:41 -------
 Fixed in svn r53593.
 Thanks.
+
+------- Additional Comments From gallarr at hotmail.com  2005-11-30 14:02 -------
+It works for the tables, but does not work for the cells, example:
+...
+objRow1.Controls.Add(objRow1Cell1);
+objRow1.Controls.Add(objRow1Cell2);
+objRow1.Controls.Add(objRow1Cell3);
+objTable.Controls.Add(objRow1);
+objTable.RenderControl(output);
+//please note that objRow1.Controls.Add(objcell)
+//would not work either
+.....
+This does not create the Cells, it creates an empty row like this
+<table cellpadding="0" cellspacing="0" width="100%" border="2"
+align="top">
+	<tr height="10">
+	</tr>
+</table>
+
+where it should be like this
+<table cellpadding="0" cellspacing="0" width="100%" border="2"
+align="top">
+	<tr height="10">
+		<td width="100">Menu title</td>
+		<td width="100">option 1</td>
+		<td width="100">option 2</td>
+	</tr>
+</table>


More information about the mono-bugs mailing list