- i can expand each grid row to see the nested table
- if i click on another row it closes the first
- however i have no way to close them all. i can not close the current one by clicking it again
<telerik:RadGrid ID="RadGrid1" runat="server" AutoGenerateColumns="False" Width="75%" |
Skin="Hay" HorizontalAlign="Center" AllowMultiRowSelection="False" |
AllowPaging="True" PageSize="5" GridLines="None" AllowMultiColumnSorting="True" |
> |
<MasterTableView DataKeyNames="ContentID" |
GroupLoadMode="Server"> |
<Columns> |
<telerik:GridBoundColumn DataField="Question" HeaderText="About" SortExpression="Question" |
UniqueName="Question"> |
</telerik:GridBoundColumn> |
</Columns> |
<NestedViewSettings> |
<ParentTableRelation> |
<telerik:GridRelationFields DetailKeyField="ContentID" MasterKeyField="ContentID" /> |
</ParentTableRelation> |
</NestedViewSettings> |
<NestedViewTemplate> |
<asp:Panel ID="NestedViewPanel" runat="server" CssClass="viewWrap"> |
<div class="contactWrap"> |
<fieldset style="padding: 2px;"> |
<legend style="padding: 2px;"><b>Answer</b> |
</legend> |
<table> |
<tr> |
<td> |
<table> |
<tr> |
<td> |
<asp:Label ID="cityLabel" Text='<%#Bind("Answer") %>' runat="server"></asp:Label> |
</td> |
</tr> |
<tr> |
</table> |
</td> |
</tr> |
</table> |
</fieldset> |
</div> |
</asp:Panel> |
</NestedViewTemplate> |
</MasterTableView> |
<PagerStyle Mode="NumericPages"></PagerStyle> |
</telerik:RadGrid> |