Events in RowDetailsTemplate

2 posts, 0 answers
  1. Raymond
    Raymond avatar
    24 posts
    Member since:
    Apr 2009

    Posted 24 Feb 2010 Link to this post


    I have problems after updating to VS2010 4.0. But I really think it´s something else...

    I have a grid. It´s RowDetailsTemplate is connected with a StaticResource. This StaticResource (DataTemplate) has a Usercontrol. This usersontrol has an event that I want to capture so I declare this event in the XAML-code and create the event in in the code behind.

    But I get compilatation error: "No overload for xxx matches delegate yyy.

    You don´t have any eaxmples how to write events in RowDetails. Could you please provide that? Is there a way to create this event, (the event in the usercontrol in the datatemplate), in code instead like:

    b.Click +=


    new RoutedEventHandler(b_Click);


    so I don´t need to do it in XAML?

    Yes, I know that this might be a Silverlight-problem but I really think RowDetails is a great function and I really think you should provide more information about this. So some examples including events would be great!

  2. Vlad
    Vlad avatar
    11100 posts

    Posted 24 Feb 2010 Link to this post

    Hello Raymond,

    Please verify if the event handler is public and declared event arguments are of the required type.

    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Back to Top