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

1
  • Maybe you didn't set the AutoPostBack property of CheckBox to true? Commented Apr 23, 2013 at 19:59

1 Answer 1

1

Set AutoPostBack="true" to your checkbox.

<asp:CheckBox id="chk" runat="server" AutoPostBack="true" OnCheckedChanged="chk_checkedChanged"/>
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.