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

GridViewSelectColumn - how to check programatically

3 Answers 159 Views
GridView
This is a migrated thread and some comments may be shown as answers.
ss
Top achievements
Rank 1
ss asked on 07 Jul 2010, 12:25 PM
Hello,

I use GridViewSelectColumn and I would like to check for example one of five columns programatically. Can you please help me how to do this?
 
Thank you.

3 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 07 Jul 2010, 12:37 PM
Hi,

 This column is bound internally to grid rows selection. Column will respond immediately when you change SelectedItem(s). 

Best wishes,
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
ss
Top achievements
Rank 1
answered on 07 Jul 2010, 01:00 PM
Maybe my question was bad.

For example. I have GridView that includes 1000 rows and I need to check only GridViewSelectColumn of first row and GridViewSelectColumn of last row. I need to do this programatically.

Thank you.
0
Yavor Georgiev
Telerik team
answered on 07 Jul 2010, 01:46 PM
Hello ss,

 You just need to add the items you want selected to the SelectedItems property of the RadGridView and the GridViewSelectColumn will automatically reflect the changes.

All the best,
Yavor Georgiev
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
Tags
GridView
Asked by
ss
Top achievements
Rank 1
Answers by
Vlad
Telerik team
ss
Top achievements
Rank 1
Yavor Georgiev
Telerik team
Share this question
or