
Roy Halvorsen
Top achievements
Rank 1
Roy Halvorsen
asked on 30 Aug 2010, 02:16 PM
In the good old version of RadGrid in Asp.Net, it's documented how to use an EditForm with Insert/Update/Cancel, but how is this done in WPF when using MVVM pattern?
I can not find anything in the docs about RadGrid when using MVVM. Is there a separate documentation, or is Telerik ignoring the pattern?
I can not find anything in the docs about RadGrid when using MVVM. Is there a separate documentation, or is Telerik ignoring the pattern?
6 Answers, 1 is accepted
0
Hello,
Vlad
the Telerik team
Have you checked our commands demo?
All the best,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
0

Roy Halvorsen
Top achievements
Rank 1
answered on 30 Aug 2010, 02:38 PM
Yes, I have. Nothing there covering my first question. And if it is, it's not easy to find ...
0
Hi,
Vlad
the Telerik team
In MVVM pattern you should use commands and the example shows how to use various RadGridView commands.
Sincerely yours,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
0

Roy Halvorsen
Top achievements
Rank 1
answered on 31 Aug 2010, 09:06 AM
I still can not find anything about RowDetailsTemplate and Commands. And, I am not allowed to have UIElements in my ViewModel. Maybe a support ticket would be helpful?
Roy
Roy
0
Hello Roy Halvorsen,
Find attached a sample project. Hope it will get you started.
Greetings,
Veselin Vasilev
the Telerik team
Find attached a sample project. Hope it will get you started.
Greetings,
Veselin Vasilev
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

Jason
Top achievements
Rank 1
answered on 15 Nov 2011, 10:21 PM
After downloading the Telerik sample application mentioned above [rowdetailstemplate-mvvm-commands.zip], I discovered that it does not cancel pending changes.
I added a few additional characters inside one of the textboxes and clicked "Cancel" expecting that my changes would be lost, but instead my changes were persisted?
Please fix the code in this Telerik sample so that we can see how to correctly implement the "Cancel" button within a WPF application.
Kind Regards
I added a few additional characters inside one of the textboxes and clicked "Cancel" expecting that my changes would be lost, but instead my changes were persisted?
Please fix the code in this Telerik sample so that we can see how to correctly implement the "Cancel" button within a WPF application.
Kind Regards