tags:

views:

29

answers:

0

<tr> <td rowspan=2>outer listview</td> <td>inner listview</td> <td>inner listview</td> <td rowspan=2>outer listview</td> </tr> <tr> <td>inner listview</td> <td>inner listview</td> </tr>

i want to have this kind of structure for a listview where the first and last td are outer list view, second and third td are inner list view

this is the .NET CODE

<asp:ListView>
 <LayoutTemplate>
 <table>
 <tr>
 <th>1st column</th>
 <th>2nd column</th>
 <th>3rd column</th>
 <th>4th column</th>
 </tr>
 </table>
 </LayoutTemplate>
 <ItemTemplate>
 <tr>
 <td rowspan="Binding a value here">1st value</td>
 <asp:ListView>
 <ItemTemplate>
 <td>2nd value</td>
 <td>3rd value</td>
 </ItemTemplate>
 </asp:ListView>
 <td rowspan="Binding a value here">4th value</td>
 </tr>
 </ItemTemplate>
 </asp:ListView>

Problem i am facing here is unable to display the last td of outer listview when inner listview has more than 1 record.

Any suggestions?