CheckChanged inside my user control

  • Thread starter Thread starter Guest
  • Start date Start date
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
 
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
 
Back
Top