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:
the row is never of the type GridViewTableHeaderRowInfo always is a gridviewdatarowinfo.
How i can solve this??
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??