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

Select Multiple Items Programatically?

1 Answer 61 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Adam Jeffery
Top achievements
Rank 1
Adam Jeffery asked on 08 Oct 2009, 11:51 PM
I cannot see any way of selecting multiple items programmatically only single items. I am asking as I have a need to automatically refresh the grid but keep a users selections that they may be working on at the time.

1 Answer, 1 is accepted

Sort by
0
Milan
Telerik team
answered on 09 Oct 2009, 09:04 AM
Hello Adam Jeffery,

To be able to select multiple items you should first set RadGridView.MultipleSelect to true. Once multiple selection is enabled you can select items by adding them to the SelectedItems collection of RadGridView.

Hope this helps.

Sincerely yours,
Milan
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
GridView
Asked by
Adam Jeffery
Top achievements
Rank 1
Answers by
Milan
Telerik team
Share this question
or