c# - UpdatePanel change my Table style -
i use nested usercontrol in form when page load dont have problem when checked checkbox in updatepanel whole style ruined problem ?
foreach (tablecell item in tc_mdfitems) { foreach (var item2 in item.controls) { ((item2 mdfitem).findcontrol("chkb_select") checkbox).checked = this.wchk_rowselector.checked; } }
when i'm not using update panel working want ajax
i change code way
<asp:updatepanel id="up_mdfrow" runat="server" updatemode="conditional" rendermode="inline"> <contenttemplate> <div id="tablediv" runat="server"></div> </contenttemplate>
when add usercontrol's table div element works fine .
thank all
Comments
Post a Comment