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:
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
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