[Mono-bugs] [Bug 551666] New: Gridview does not render thead in ASP.NET

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sat Oct 31 14:01:34 EDT 2009


http://bugzilla.novell.com/show_bug.cgi?id=551666


           Summary: Gridview does not render thead in ASP.NET
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.4.x
          Platform: All
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Sys.Web
        AssignedTo: mhabersack at novell.com
        ReportedBy: jan.kraljic at patware.si
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Created an attachment (id=324992)
 --> (http://bugzilla.novell.com/attachment.cgi?id=324992)
Example in aspx file (need .aspx.cs)

User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.3)
Gecko/20091010 Iceweasel/3.5.3 (Debian-3.5.3-2)

Gridview with parametrs sould add to html code <thead> <tbody><tfoot> 

Like this:
GridView1.HeaderRow.TableSection = TableRowSection.TableHeader;
GridView1.FooterRow.TableSection = TableRowSection.TableFooter;

While running on mono this does not happen

Reproducible: Always

Steps to Reproduce:
1. Create Gridview component in ASP-NET
2. Add ableRowSection.TableHeader; and TableRowSection.TableFooter;
3. view gridview in bowser
Actual Results:  
<table id="GridView1" cellspacing="0" rules="all" border="1"
style="border-collapse:collapse;">
            <tr>
                <th scope="col">Dosage</th><th scope="col">Drug</th><th
scope="col">Patient</th><th scope="col">Date</th>
            </tr><tr>
                <td>25</td><td>Indocin</td><td>David</td><td>10/31/2009 6:54:02
PM</td>
            </tr><tr>
                <td>50</td><td>Enebrel</td><td>Sam</td><td>10/31/2009 6:54:02
PM</td>
            </tr><tr>
                <td>10</td><td>Hydralazine</td><td>Christoff</td><td>10/31/2009
6:54:02 PM</td>
            </tr><tr>
                <td>21</td><td>Combivent</td><td>Janet</td><td>10/31/2009
6:54:02 PM</td>
            </tr><tr>
                <td>100</td><td>Dilantin</td><td>Melanie</td><td>10/31/2009
6:54:02 PM</td>
            </tr>
        </table>

Expected Results:  
    <table cellspacing="0" rules="all" border="1" id="GridView1"
style="border-collapse:collapse;">
        <thead>
            <tr>
                <th scope="col">Dosage</th><th scope="col">Drug</th><th
scope="col">Patient</th><th scope="col">Date</th>
            </tr>
        </thead><tbody>
            <tr>

                <td>25</td><td>Indocin</td><td>David</td><td>31.10.2009
18:56:37</td>
            </tr><tr>
                <td>50</td><td>Enebrel</td><td>Sam</td><td>31.10.2009
18:56:37</td>
            </tr><tr>
                <td>10</td><td>Hydralazine</td><td>Christoff</td><td>31.10.2009
18:56:37</td>

            </tr><tr>
                <td>21</td><td>Combivent</td><td>Janet</td><td>31.10.2009
18:56:37</td>
            </tr><tr>
                <td>100</td><td>Dilantin</td><td>Melanie</td><td>31.10.2009
18:56:37</td>
            </tr>

        </tbody><tfoot>

        </tfoot>
    </table>


Its pretty blocker this problem because js and jquery require to have thead and
tbody to work on it

-- 
Configure bugmail: http://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