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

Check Box Header for RadGridView

3 Answers 107 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Shashiram
Top achievements
Rank 1
Shashiram asked on 06 Sep 2010, 12:20 PM
Hi,

we are in a process of upgrading telerik dlls periodically.

prevoiusly we are using 2009.3.9.1203 version dlls.
here we are able to add check box in the header of a RadGridView using "CheckBoxHeaderCell" class which is given in the telerik forums.
here we are not creating a checkbox column and adding it to RadGridView instead we are are getting bool values from DB and binding them to RadGridView and we are just adding Checkbox in the Header.

when we upgrade the telerik dlls to 2010.2.10.806 version we are not able to add check box as we did above.

i found some sample code in telerik forums which gives code to add the checkBox column with header.

Is it possible to add check box in the header with out creating the entire check box column
here my check box column is displayed with the DB values and i just want to add check box in the header and handle the event.

if possible please give sample code.


Thank you,
Shashi

3 Answers, 1 is accepted

Sort by
0
Svett
Telerik team
answered on 09 Sep 2010, 12:08 PM
Hello Shashiram,

It is possible to create and add visual elements to an existing cell element in ViewCellFormatting and CellFormatting events. Nevertheless, we encourage our customers to create a custom cell that encapsulates the desired logic. You can read more about how you can create a custom check box header cell element it in this knowledge base article.

All the best,
Svett
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
Renganathan
Top achievements
Rank 1
answered on 24 Dec 2010, 12:30 PM
The Link is not working..
0
Emanuel Varga
Top achievements
Rank 1
answered on 25 Dec 2010, 10:13 PM
Hello,

There have been some changes in the site's link management, here is the new link to that article.

In the future, the easiest way to find KB article is to go under Support-> WinForms -> Knowledge Base (or also a very good reference point is the Code Library)

Hope this helps, if you have any other questions or comments, please let me know,

Best Regards,
Emanuel Varga

Telerik WinForms MVP
Tags
GridView
Asked by
Shashiram
Top achievements
Rank 1
Answers by
Svett
Telerik team
Renganathan
Top achievements
Rank 1
Emanuel Varga
Top achievements
Rank 1
Share this question
or