i use nested usercontrol in my form when page load i dont have any problem but when i checked my checkBox which is in an updatepanel my whole style ruined what is the problem ?
foreach (TableCell item in TC_mdfItems)
{
foreach (var item2 in item.Controls)
{
((item2 as MdfItem).FindControl("CHKB_Select") as CheckBox).Checked = this.WCHK_RowSelector.Checked;
}
}
when I'm not using update panel its working but i want to do it with Ajax
i change my code this way
when i add my usercontrol's table to div element it works fine .
thank you all