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;         }     } 

i use marked check box select usercontrol in row then changes style

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

Popular posts from this blog

java - Andrioid studio start fail: Fatal error initializing 'null' -

android - Gradle sync Error:Configuration with name 'default' not found -

StringGrid issue in Delphi XE8 firemonkey mobile app -