Posted on: 9/10/2012 8:22:31 AM | Views : 236

This web site dynamically adds user controls.  The user controls contain label controls, a checkbox control and a hidden field whose value identifies each instance.  When the page is renedered, the user will check certain checkboxes, and then post back the page.  On the postback, I want to get the values of the hidden fields of the user control instances whose checkboxes have been checked.  
The checkbox in the user control is:
<asp:CheckBox ID="chkSelect" runat="server" Text="Keep me informed" oncheckedchanged="chkSelect_CheckedChanged" />
For the code behind in the user control, I have:
public event EventHandler FlightSelected; protected void chkSelect_CheckedChanged(object sender, EventArgs e) { FlightSelected(sender, e); } The user control containing the ...

Go to the complete details ...