$("[src*=plus]").live("click", function () { $(this).closest("tr").after("<tr><td></td><td colspan = '999'>" + $(this).next().html() + "</td></tr>") $(this).attr("src", "../images/minus.png"); debugger; var id = $(this).attr('id') $("input[id=hdnfldVariable]").val(id) }); $("[src*=minus]").live("click", function () { $(this).attr("src", "../images/plus.png"); $(this).closest("tr").next().remove(); });
protected void gvchild_RowDataBound(object sender, GridViewRowEventArgs e) { }
<asp:templatefield> <itemtemplate> <asp:panel id="pnlOrders" runat="server" style="display: none"> <asp:gridview id="gvchild" onrowdatabound="gvchild_RowDataBound" onrowcommand="gvchild_RowCommand" runat="server" autogeneratecolumns="false" cssclass="ChildGrid"> <columns> <asp:boundfield itemstyle-width="150px" datafield="Front" headertext="Front"> <asp:boundfield itemstyle-width="150px" datafield="Roll" headertext="Roll"> <asp:boundfield itemstyle-width="150px" datafield="Orderno" headertext="Orderno">
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)