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

Events in RowDetailsTemplate

1 Answer 75 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Raymond
Top achievements
Rank 1
Raymond asked on 24 Feb 2010, 09:09 AM
Hi,

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!

/R

1 Answer, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 24 Feb 2010, 09:13 AM
Hello Raymond,

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

Regards,
Vlad
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.
Tags
GridView
Asked by
Raymond
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Share this question
or