Hello,
I have a user control that has radio buttons and a listbox. This user
control is repeated several time on my webpage.
What I want to do is alert the main page that the radio buttons were clicked
(changed). I know this has to do with Events and I can see the changed event
and work with it within the user control. I just don't know how to have that
Event sent (or raised) to the page holding all the user controls.
Specifically, I want to listbox to fill with different data based on which
radio button was clicked, and access to the data is held outside the user
control.
I have seen that this has to do with delegates and consuming events, but I
am specifically looking for the actual code (C#) that makes the main page
react (consume?) when the radio button is clicked on the user control.
I hope that is clear. Because I am having a hard time getting my head around
Events and Delegates.
Thank you for the help.
-Rob