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

What collection type you use as source for for CRUD operations

1 Answer 24 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Goran
Top achievements
Rank 1
Goran asked on 11 Apr 2012, 07:14 PM
Hi,
I am intrerested in opinions about what kind of collection is best to use with controls like RadDataForm, RadTreeListView, RadGridView...

Usually we have a setup that we use RadDataForm together with another "list" control (RadGridVew, RadTreeListView), that both point to same source. Here we allow users to do batch CRUD operations. Seems that ObservableCollection has issues with Commiting the edits, since calling CommitEdit on RadDataForm will commit only the current record. PagedCollectionView is able to handle this, since it implements IEditableCollectionView.

So, how do you handle this and what type of collections do you use in this scenario? Data is retrieved using EF and Ria Services.

1 Answer, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 12 Apr 2012, 07:12 AM
Hi,

 You can use QueryableDomainServiceCollectionView<>. Please check this demo for more info:
http://demos.telerik.com/silverlight/#DomainDataSource/MVVM 

All the best,
Vlad
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
General Discussions
Asked by
Goran
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Share this question
or