For Expand and Collapse of the Child GridViews I have made use of jQuery.
$("[src*=plus]").live("click", function () { $(this).closest("tr").after("" + $(this).next().html() + "") $(this).attr("src", "images/minus.png"); }); $("[src*=minus]").live("click", function () { $(this).attr("src", "images/plus.png"); $(this).closest("tr").next().remove(); });
I have a button in child grid view to add a new row. After adding it, it will collapse. I want to expand it after adding new row.. only need to collapse while clicking on collapse button. Adding rows in server side.
I want after the postback to keep it expanded .
please help me..
Thanks in advance..
vineetha..