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

Checkbox in Header

2 Answers 90 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Carlos Teevin
Top achievements
Rank 1
Carlos Teevin asked on 11 Oct 2010, 09:57 PM
Hi, i tried to follow this KB "how to add a checkbox header" to add a checkbox to the header of a checkboxcolumn but is not working at all. i'm using dll 2010.2.10.610. I think the problem is when the execution get to this method: 
public override Type GetCellType(GridViewRowInfo row)
{
    if (row is GridViewTableHeaderRowInfo)
    {
        return typeof(CheckBoxHeaderCell);
    }
    return base.GetCellType(row);
}

the row is never of the type GridViewTableHeaderRowInfo always is a gridviewdatarowinfo.

How i can solve this??

2 Answers, 1 is accepted

Sort by
0
Emanuel Varga
Top achievements
Rank 1
answered on 12 Oct 2010, 07:40 AM
Hello Carlos,

Could you please try updating to the latest version of Telerik Controls? Q2 2010 SP2, ...914?
Also this thread could provide some more information on this.

If you will update to the latest version and you will still have problems, please let me know and i will provide an example application.

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

Best Regards,
Emanuel Varga
0
Stefan
Telerik team
answered on 14 Oct 2010, 05:29 PM
Hello Carlos, 

Thank you for writing. 

Emanuel is right. We have updated our knowledge base articles to work with the latest version of our controls - Q2 2010 SP2 (v2010.2.10.914), where a few changes were intrduced. So, in order to get this example to work, you will have to download the latest version, which is available in your account. 

@Emanuel, thank you for the cooperation.

I hope you find this information helpful.

Best wishes,
Stefan
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
Tags
GridView
Asked by
Carlos Teevin
Top achievements
Rank 1
Answers by
Emanuel Varga
Top achievements
Rank 1
Stefan
Telerik team
Share this question
or