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

How to avoid the default check box selection of GridViewSelectColumn

4 Answers 88 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Gopinath
Top achievements
Rank 2
Gopinath asked on 11 Dec 2012, 01:40 PM
Hi,

In my current scenario i am using GridViewSelectColumn to display the checkboxes. But when the grid loaded by default the first row's check box is getting selected. 

I want avoid that behavior. How that can be implemented.

Please suggest me the way.

Thanks
Gopinath 

4 Answers, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 11 Dec 2012, 01:43 PM
Hi,


The reason for the CheckBox to be checked would be that the first row is selected. Have you tried setting the IsSynchronizedWithCurrentItem="False" for the RadGridView?

All the best,
Didie
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Gopinath
Top achievements
Rank 2
answered on 11 Dec 2012, 02:25 PM
Thanks a lot Didie .

It's fine now. I have one question. Can please let me know how to avoid the check selection when the TAB key is pressed.

Thanks
Gopinath
0
Dimitrina
Telerik team
answered on 11 Dec 2012, 03:20 PM
Hello,

Please check this forum thread where a similar topic has been discussed.

Kind regards,
Didie
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Gopinath
Top achievements
Rank 2
answered on 11 Dec 2012, 03:54 PM
Hi,

CanUserSelect="False"  works only at the time loading .

But i want to avoid the check selection when the TAB key is pressed after the Grid Loaded.


I mean if i select a row manually and after that if i am pressing tab, it moves to the next row and select the check box. Moving to the next row is fine. But i dont want the check box to be selected.


Thanks
Gopinath
Tags
GridView
Asked by
Gopinath
Top achievements
Rank 2
Answers by
Dimitrina
Telerik team
Gopinath
Top achievements
Rank 2
Share this question
or