protected void chk全部_CheckedChanged(object sender, EventArgs e)
    {
        if (chk全部.Checked == true)
            chk局部.Checked = false;
    }我是初学者,请指教。谢谢!

解决方案 »

  1.   


    这个CheckBox的autopostback属性设为true了吗?
      

  2.   


        <asp:DropDownList ID="DropDownList1" AutoPostBack="true" runat="server">
        </asp:DropDownList>
    AutoPostBack="true"  设置成true!
      

  3.   

    CheckedChanged事件有没有包括onclick事件?如果有的话
    当执行了CheckedChanged事件时,onclick就不会再执行了!