[Mono-dev] Cannot add a System.Web.UI.HtmlControls.HtmlGenericControl to System.Web.UI.HtmlControls.HtmlTableRow
Arnhoffer Károly
karnhoffer at ecron.hu
Fri Jan 20 06:14:54 EST 2006
Hi,
I try to run a simple ASP page from a Mono server. There is a System.Web.UI.HtmlControls.HtmlTable control on the page. The problem is that I use <thead> tags. I get the following compilation error:
Server Error in '/c' Application
--------------------------------------------------------------------------------
Parser Error
Description: Error parsing a resource required to service this request. Review your source file and modify it to fix this error.
Error message: Cannot add a System.Web.UI.HtmlControls.HtmlGenericControl to System.Web.UI.HtmlControls.HtmlTableRow
File name: /home/karnhoffer/public_html/mod_mono_c_test/WebForm1.aspx Line: 14
Source Error: <body>
<form id="Form1" method="post" runat="server">
<TABLE id="Table1" cellSpacing="1" cellPadding="1" width="300" border="1" runat="server">
<thead>
<TR>
<TD></TD>
<TD></TD>
When I comment out or delete <thead>s, it compiles fine.
I found a very similar bug in the Bugzilla under #52157. The problem there seems to be the same with the <tbody> tag.
Visual Studio project (zipped) and the result page are attached.
Thanks!
Károly
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20060120/a675a291/attachment.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: project.zip
Type: application/x-zip-compressed
Size: 12471 bytes
Desc: project.zip
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20060120/a675a291/attachment.bin
More information about the Mono-devel-list
mailing list