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

Single select on a Gridview

3 Answers 73 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Vuyiswa
Top achievements
Rank 2
Vuyiswa asked on 30 Mar 2011, 06:15 PM
Good Day

i have a gridview and in that gridview i have a checkbox field. in a grid i always a single record being checked. so that means if a checkbox is selected in other record, there shouldnt be anyrecord has a checkbox selected.

Thanks

3 Answers, 1 is accepted

Sort by
0
Vanya Pavlova
Telerik team
answered on 30 Mar 2011, 06:36 PM
Hi Vuyiswa,

 

Since the SelectionMode property of RadGridView is set to Single, you will be able to select only a single row at a time. You may use the built-in GridViewSelectColumn to achieve the desired result. 


If you need any further information please let us know.


Kind regards,
Vanya Pavlova
the Telerik team
0
Vuyiswa
Top achievements
Rank 2
answered on 30 Mar 2011, 06:51 PM
Thank you Vanya for your reply

The Checkbox i have there i bind it from an object with a Boolean value. So if the checkbox is unchecked, i will need to collect that value when i do the updates. can GridViewSelectColumn


<
telerik:GridViewSelectColumn>


be binded ?

Thanks
0
Vanya Pavlova
Telerik team
answered on 31 Mar 2011, 07:15 AM
Hello Vuyiswa,

 

Please take a look at the following forum thread.

Best wishes,
Vanya Pavlova
the Telerik team
Tags
GridView
Asked by
Vuyiswa
Top achievements
Rank 2
Answers by
Vanya Pavlova
Telerik team
Vuyiswa
Top achievements
Rank 2
Share this question
or