This question is locked. New answers and comments are not allowed.
Bibhakar Saran
Top achievements
Rank 1
Bibhakar Saran
asked on 30 Jun 2010, 06:42 AM
I want the ability to edit data being displayed in the grid and cancel or save changes for the row from RowDetailsTemplate (user control) of the RadGridView.
Is that possible?
I have a RowDetailsTemplate with two way binding and a save/cancel button.
I don't know how to access the dataSource to Comit or cancel changes from within the RowDetailsTemplate. Please help
Should I be using RowDetailsVisibility changed event for the RadGridView?
I am using SL4, .NET 4 and VS2010 for development tool set. I am Business Application template with Domain Services and Entity Framework.
Thanks
Regards
7 Answers, 1 is accepted
0
Hi Bibhakar Saran,
Best wishes,
Milan
the Telerik team
This blog should provide the information that you seek.
Best wishes,
Milan
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
0
Arun
Top achievements
Rank 1
answered on 19 Jul 2010, 09:01 PM
Hey Milan,
Is the link given by you working?
Is the link given by you working?
0
Carlos
Top achievements
Rank 1
answered on 19 Jul 2010, 10:00 PM
Here's the link to the article I believe he was referring to:
http://blogs.telerik.com/mayazhecheva/posts/10-05-18/how_-_to_automatically_re-order_re-sort_and_re-group_radgridview_silverlight_and_wpf_on_change_of_the_underlying_datasource.aspx
http://blogs.telerik.com/mayazhecheva/posts/10-05-18/how_-_to_automatically_re-order_re-sort_and_re-group_radgridview_silverlight_and_wpf_on_change_of_the_underlying_datasource.aspx
0
Arun
Top achievements
Rank 1
answered on 20 Jul 2010, 01:22 AM
Thanks Carlos
0
Ahmad
Top achievements
Rank 1
answered on 20 Oct 2010, 01:28 PM
Dear Milan,
i am using telerik controls in my first WPF application, i have a page with RadGridView control, i add <telerik:RadGridView.RowDetailsTemplate> this RowDetails contains RadTab control, i load inside the Tab a user control according to the toggled row in the grid.
this tab have a SelectionChanged event, how i can know in which row so that i can read specific value from that row and pass it to the usercontrol to load the data.
i will appreciate you response
thanks
i am using telerik controls in my first WPF application, i have a page with RadGridView control, i add <telerik:RadGridView.RowDetailsTemplate> this RowDetails contains RadTab control, i load inside the Tab a user control according to the toggled row in the grid.
this tab have a SelectionChanged event, how i can know in which row so that i can read specific value from that row and pass it to the usercontrol to load the data.
i will appreciate you response
thanks
0
Hello Ahmad,
Regards,
Milan
the Telerik team
Each row's data item will be assign as DataContext for that row's details. For example, if the grid is bound to Customer object, the details of the first row will have as DataContext the first customer in the ItemsSource. Having this in my you can directly bind to the values of the data item as demonstrates in this demo. EmployeeInfoDetailsTemplate.xaml should be of particular interest - you can view it by clicking on the View Code button.
Hope this helps.
Regards,
Milan
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
0
pat
Top achievements
Rank 1
answered on 14 Aug 2011, 08:59 PM
This link does not work can we have an update?