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

How to use checkbox instead of click row to multipleselect?

3 Answers 77 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Adrian Guillen
Top achievements
Rank 1
Adrian Guillen asked on 18 Jan 2010, 08:44 PM
i want to use checkboxes instead of ctrl+click to select multiple rows in the radGridView. I use this.radGridView.SelectedItems in my functions but i don't know how to use the SelectedItems list with the checkboxes. I would greatly appreciate an example of use.. Sorry for my newbie question, and thank you for the help.

3 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 19 Jan 2010, 07:00 AM
Hello,

You can use GridViewSelectColumn to select rows with checkboxes:
http://demos.telerik.com/silverlight/#GridView/ColumnTypes

Kind regards,
Vlad
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.
0
Adrian Guillen
Top achievements
Rank 1
answered on 19 Jan 2010, 01:53 PM
thanks for the quick response, yes indeed that's exactly what i want, thank you, but I only have the RadControls for WPF Q2 and it doesn't have that type of column. Is there any way with my radControl pack to do what i'm trying to do?
0
Pavel Pavlov
Telerik team
answered on 19 Jan 2010, 05:14 PM
Hello Adrian Guillen,


The project attached demonstrates a similar scenario. It has a button in the cell and on click of the button it selects the row. You may easily replace the button with a checkbox for your needs. You may then handle the checked event of the checkbox instead of the click event of the button.

However the GridViewSelectcolumn gives some additional benefits e.g. such as preserving the state of the checkbox on scrolling. 

Therefore I  would highly recommend to upgrade to a later version .

All the best,
Pavel Pavlov
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
Adrian Guillen
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Adrian Guillen
Top achievements
Rank 1
Pavel Pavlov
Telerik team
Share this question
or