Bubbling events: how to?

3 posts, 0 answers
  1. Stargazer
    Stargazer avatar
    73 posts
    Member since:
    Jan 2007

    Posted 14 May 2009 Link to this post

    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. Nick
    Admin
    Nick avatar
    767 posts

    Posted 15 May 2009 Link to this post

    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.
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Stargazer
    Stargazer avatar
    73 posts
    Member since:
    Jan 2007

    Posted 15 May 2009 Link to this post

    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!
Back to Top