Calling javascript function in case of partial rendering using AJAX from server side c# -
i want make visible <tr>
of <table>
inside asp:update panel
, not able make visible through call c# server side. following code calling server side.
page.clientscript.registerstartupscript(this.gettype(), "myscript", "test();", true);
i have test() function in aspx page.
place literal control(keep id "ltlscript") in update panel , set enableviewstate = false , in code-behind call js function using following way.
scriptmanager.registerstartupscript(ltlscript, ltlscript.gettype, "myscript", "test();",true);
Comments
Post a Comment