This is a migrated thread and some comments may be shown as answers.

Bubbling events: how to?

2 Answers 160 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Stargazer
Top achievements
Rank 2
Stargazer asked on 14 May 2009, 03:38 PM
Hello to all!

I have been working on a custom control that has several (dynamically added) RadToggleButtonElements. Now I'm wanting to handle the click event of those elements int the form where I use the control, so I can take some actions based on the clicked Item.

I've read the docs on the RoutedEvent and such, but I got lost on how exactly this works and how to implement it.

Will anyone of you guys give me a hand on this one? Thanks!

2 Answers, 1 is accepted

Sort by
0
Nick
Telerik team
answered on 15 May 2009, 08:28 AM
Hello Stargazer,

Routed events in Telerik presentation framework are very similar to the routed events in WPF. Please read this msdn page about routed events in WPF and then proceed with our documentation. You may also review the source code of some of our controls about how to use them. If you have more concrete questions, please do not hesitate to ask.

Regards,
Nick
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Stargazer
Top achievements
Rank 2
answered on 15 May 2009, 09:39 AM
Hello Nick,

Thanks for the reply. I did noticed some similarities, but I wanted to be more sure. Now I am. I'll look into the MSDN doc you gave me, and put it to work.

Thanks!
Tags
General Discussions
Asked by
Stargazer
Top achievements
Rank 2
Answers by
Nick
Telerik team
Stargazer
Top achievements
Rank 2
Share this question
or