在asp.net页面上我选择了检查框“chk全部”,为什么不会执行下面这个事件过程呢
protected void chk全部_CheckedChanged(object sender, EventArgs e)
{
if (chk全部.Checked == true)
chk局部.Checked = false;
}
我是初学者,请指教。谢谢!
[解决办法]
这个CheckBox的autopostback属性设为true了吗?
[解决办法]
<asp:DropDownList ID="DropDownList1" AutoPostBack="true" runat="server"> </asp:DropDownList>