Hi
I have below code in code behind. I want when user clicks on Group Name row data should get filled in Table footer columns
StudentDetail Res = bALStudents.GetStudentDetail(Convert.ToInt32(colum.StudentID)); lblGroup.Text = colum.Group.GroupName; htmlTable.Append("<tr>"); htmlTable.Append("<td style='display:none'>" + colum.ID + "</td>"); htmlTable.Append("<td>" + Count.ToString() + "</td>"); htmlTable.Append("<td>" + colum.Group.GroupName + "</td>"); htmlTable.Append("<td>" + Res.Name + "</td>"); htmlTable.Append("<td>" + "" + "</td>"); htmlTable.Append("<td>" + "" + "</td>");
<tfoot runat="server" id="AddCtrls"> <tr> <td style='display: none'></td> <td>-</td> <td> <asp:Label ID="lblGroup" runat="server" Text=""></asp:Label></td> <td> <asp:DropDownList ID="ddlStudent" class="form-control" required="true" parsley-trigger="change" runat="server"> <asp:ListItem Value="">Select Student</asp:ListItem> </asp:DropDownList></td> <td> <asp:TextBox ID="txtfrDate" CssClass="form-control daterange-single" onkeydown="return false" placeholder="Group Assigned From Date" runat="server"></asp:TextBox></td> <td> <asp:TextBox ID="txttoDate" CssClass="form-control daterange-single" onkeydown="return false" placeholder="Group Assigned To Date" runat="server"></asp:TextBox></td> <td> <asp:LinkButton ID="lnkAddRecord" class="btn bg-success" OnClick="lnkAddRecord_Click" runat="server">Add</asp:LinkButton> </td> </tr> </tfoot>
Thanks