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

How to uncheck the checkbox inside GridViewSelectColumn

3 Answers 100 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Puja
Top achievements
Rank 1
Puja asked on 16 Jan 2012, 11:01 AM
i am a newbie to telerik. I want to stop the user to select some of the item so i have disable the cell which is having GridViewSelectColumn but after that also on selection of that row it is getting checked how to uncheck that please help me 

3 Answers, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 16 Jan 2012, 11:56 AM
Hi,

You could handle the selection when the SelectionChanging event of the RadGridView is raised?

Kind regards,
Didie
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Puja
Top achievements
Rank 1
answered on 17 Jan 2012, 10:40 AM
Thank you for the reply, but i can not do that in Selection_Changing event. I have to bind this to a property like "IsSelected" and if this property is true it should be checked otherwise unchecked. i have also tried to create a new class which is inherited from GridViewSelectColumn  and bind the property to IsChecked but its not working .
0
Vlad
Telerik team
answered on 17 Jan 2012, 10:50 AM
Hello,

 This column is already bound to the IsSelected property of GridViewRow. If your scenario is different you should create your own custom column for selection.

Please refer to our demos and documentation for more info how to create custom columns.

Greetings,
Vlad
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
GridView
Asked by
Puja
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Puja
Top achievements
Rank 1
Vlad
Telerik team
Share this question
or