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
 

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

Similar Threads

user control performance 2
C# Web User Control help 3
a little help please... 1
tabs galore 7
Lost Controls 2
CheckBox Change Event 1
user control and databinding expression 7
please walkthrough with me 2

Back
Top