CheckChanged inside my user control

G

Guest

hey all,
i'm trying to abstract some code from my current code-behind into a user
control. There's a CheckChanged event from a radiobuttonlist and i was
wondering if i could expose that from the user control or would it be easier
to do something else?

thanks,
rodchar
 
K

Kevin Spencer

You create a "CheckChanged" event in the UserControl, then handle the
RadioButtonList CheckChanged event raised by the child Control by raising
the new "CheckChanged" event in the UserControl. Other sibling Controls can
then handle the UserControl's event.

--
HTH,

Kevin Spencer
Chicken Salad Surgeon
Microsoft MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,904
Latest member
HealthyVisionsCBDPrice

Latest Threads

Top