1

I have created many checkboxes in asp.net using vb.net programmatically I want to check all the checkboxes when main checkbox is checked. Main checkbox is created in page_Load event. But its CheckChanged event is not firing

4

1 回答 1

1

设置AutoPostBack="true"为您的复选框。

<asp:CheckBox id="chk" runat="server" AutoPostBack="true" OnCheckedChanged="chk_checkedChanged"/>
于 2013-04-23T19:59:06.057 回答