2
Vote

Repeater Render Bug

description

The ajax data repeater control appears to have a rendering bug??
 
I have the following declaration within my page:
 
<AjaxData:Repeater ID="rprPerson" runat="server" ItemDataBoundEvent="onItemDataBound" RenderAs="Div">
<HeaderTemplate>
    <table>
</HeaderTemplate>
<ItemTemplate>
    <tr>
        <td><span id="spanFullName" /></td>
    </tr>
</ItemTemplate>
<FooterTemplate>
    </table>
</FooterTemplate>
</AjaxData:Repeater>
 
I was expecting the output to be something like the following:
 
<div id="ctl00_Content_rprPerson" style="visibility: visible;"> <table> <tr> <td>Bob</td> </tr> <tr> <td>Fred</td> </tr> </table> </div>  
but what I actually get is:
 
<div id="ctl00_Content_rprPerson" style="visibility: visible;"> <table /> <span id="ctl00_Content_rprPerson$3$1$spanFullName">Bob</span> <span id="ctl00_Content_rprPerson$3$1$spanFullName">Fred</span> </div>  
 
This appears to be a rendering bug.
 
Regards
Cliff
 
ps Keep up the excellent work__!

comments

alexchia wrote Sep 18, 2008 at 3:18 AM

strongly wish that we can have this enhancement in the future release!
anyway, excellent work!!

wrote Feb 14, 2013 at 3:04 AM