[Mono-bugs] [Bug 481622] New: Exception when using layout template

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Mar 3 15:36:09 EST 2009


https://bugzilla.novell.com/show_bug.cgi?id=481622


           Summary: Exception when using layout template
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.4.x
          Platform: x86
        OS/Version: Windows Vista
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: Sys.Web
        AssignedTo: mhabersack at novell.com
        ReportedBy: PascalFresnay at free.fr
         QAContact: mono-bugs at lists.ximian.com
          Found By: Community User


Description of Problem:
An exception occured when running web page.

Steps to reproduce the problem:
1. run test case (see attachement)


Actual Results:
Parser Error
Description: Error parsing a resource required to service this request. Review
your source file and modify it to fix this error. 

Parser Error Message: Cannot add a
System.Web.UI.HtmlControls.HtmlGenericControl to
System.Web.UI.HtmlControls.HtmlTableRow

Source Error: 

Line 14:             <LayoutTemplate>
Line 15:             <table runat="server">
Line 16:             <thead>
Line 17:                 <tr>
Line 18:                     <td>Title</td>




Expected Results:
Title 
0 
1 
[...]

How often does this happen? 
Always


Additional Information:
works on .NET framework 3.5 but with a strange behavior : thead/tbody is
skipped but rows (including thead row) is generated :
<table>
    <tr>
        <td>Title</td>
    </tr>

        <tr><td>0</td></tr>
        <tr><td>1</td></tr>
[...]

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list