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

[Solved] VirtualQueryableCollectionView - delete some items

3 Answers 135 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
ss
Top achievements
Rank 1
ss asked on 12 Jan 2011, 01:53 PM

Hello,

I have form that contains GridView of selected articles and button to display GridView (this GridView use VirtualQueryableCollectionView) of all articles. Can you please help me how to delete the selected articles from the list of all articles? The user can select only the articles which are not selected.

Thank you very much.

3 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 18 Jan 2011, 12:14 PM
Hi,

 The grid will work by default like this. You can select only not selected rows and if you press delete button these rows will be deleted. Please make sure that your source collection can support this - it is at least IList. 

Regards,
Vlad
the Telerik team
Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
0
ss
Top achievements
Rank 1
answered on 20 Jan 2011, 09:36 AM

Thank you. 

Maybe I explained my problem wrong. So I will try to explain better.

I created RadGridView (ItemsSource = VirtualQueryableCollectionView) which is responsible for displaying all articles stored in the database. Once the RadGridView is displayed, user can select some articles and press button to confirm. After pressing, the RadGridView is closed and selected articles are stored in a separate collection. Now, user can display RadGridView again but selected articles that are stored in separate collection cannot be displayed in RadGridView because it had been selected.

Thank you for your help. 

0
ss
Top achievements
Rank 1
answered on 28 Jan 2011, 09:21 AM

I still can not find a solution. Is there any solution to my problem?

Thank you.

Tags
GridView
Asked by
ss
Top achievements
Rank 1
Answers by
Vlad
Telerik team
ss
Top achievements
Rank 1
Share this question
or