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

GridView with CheckBox

6 Answers 112 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Marcelo
Top achievements
Rank 1
Marcelo asked on 11 Aug 2010, 10:55 PM
HI,

I have a GridView with a checkbox column. When I would click on the column header checkbox checks all stay true.
Could anyone help me?

6 Answers, 1 is accepted

Sort by
0
Martin Vasilev
Telerik team
answered on 17 Aug 2010, 10:12 AM
Hi Marcelo,

Please take a look at following KB article which could help you implement the desired functionality: Add "Check All" in the header cell for a GridViewCheckBoxColumn

Kind regards,
Martin Vasilev
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
Roberto
Top achievements
Rank 1
answered on 15 Jun 2011, 01:09 AM
Hi Martin

I have same marcelo's problem question. I tried to access link however I can't access it. 
Thank for help.

Roberto
0
Martin Vasilev
Telerik team
answered on 17 Jun 2011, 03:40 PM
Hello Roberto,

Thank you for writing.

Here is the updated KB Article link: Add "check-all" in the header cell for a GridViewCheckBoxColumn.

Hope this helps. Do not hesitate to contact me again if you have any additional questions.

Kind regards,
Martin Vasilev
the Telerik team
Q1’11 SP1 of RadControls for WinForms is available for download; also available is the Q2'11 Roadmap for Telerik Windows Forms controls.
0
Francois
Top achievements
Rank 1
answered on 17 Jun 2011, 04:23 PM
When modifying the value of the selection cell in the code, the checkbox in the header doesn't get updated. How is it possible interact with the cell header at runtime?

I'm using this checkbox column in a multiselect mode RadGridView and when I call SelectAll(), it doesn't get updated. Any idea?

Thanks!
0
Martin Vasilev
Telerik team
answered on 22 Jun 2011, 04:31 PM
Hello Francois,

Thank you for contacting us.

Please find a sample project as attachment, which demonstrates how to add a check box in the header cell and change its toggle state according to the column's values.

Hope this helps. Let me know if you have any additional questions.

Regards,
Martin Vasilev
the Telerik team
Q1’11 SP1 of RadControls for WinForms is available for download; also available is the Q2'11 Roadmap for Telerik Windows Forms controls.
0
Francois
Top achievements
Rank 1
answered on 22 Jun 2011, 04:40 PM
Thank you!
Tags
GridView
Asked by
Marcelo
Top achievements
Rank 1
Answers by
Martin Vasilev
Telerik team
Roberto
Top achievements
Rank 1
Francois
Top achievements
Rank 1
Share this question
or