Я хочу, чтобы моя строка повторителя - при нажатии расширялась с несколькими текстовыми полями на панели. Здесь я сделал повторитель в формате таблицы с данными из базы данных. Когда нажимается каждая строка в повторителе, мне нужно, чтобы панель была видна с текстовым полем it.when строка щелкнута снова, тогда панель должна стать невидимой.
Заранее спасибо за помощь
<asp:Repeater ID="RepSample" runat="server" DataSourceID="SqlDataSource1">
<HeaderTemplate>
<table cellpadding="1" cellspacing="1" width="100%" style="font-family: Verdana;
border: 1px solid #C0C0C0; background-color: #D8D8D8">
<tr bgcolor="#FF781E">
<th>
LicenseID
</th>
<th>
LicenseName
</th>
<th>
StartDate
</th>
<th>
EndDate
</th>
</tr>
</HeaderTemplate>
<ItemTemplate>
<tr style="background-color: White">
<td>
<%#DataBinder.Eval(Container, "DataItem.LicenseID")%>
</td>
<td>
<%#DataBinder.Eval(Container, "DataItem.LicenseName")%>
</td>
<td>
<%#DataBinder.Eval(Container, "DataItem.StartDate")%>
</td>
<td>
<%#DataBinder.Eval(Container, "DataItem.EndDate")%>
</td>
</tr>
</ItemTemplate>
<AlternatingItemTemplate>
<tr>
<td>
<%#DataBinder.Eval(Container, "DataItem.LicenseID")%>
</td>
<td>
<%#DataBinder.Eval(Container, "DataItem.LicenseName")%>
</td>
<td>
<%#DataBinder.Eval(Container, "DataItem.StartDate")%>
</td>
<td>
<%#DataBinder.Eval(Container, "DataItem.EndDate")%>
</td>
</tr>
</AlternatingItemTemplate>
<FooterTemplate>
</table></FooterTemplate>
</asp:Repeater>
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:KTestConnectionString %>"
SelectCommand="SELECT LicenseID, LicenseName, StartDate, EndDate FROM Krish">
</asp:SqlDataSource>