Hello Telerik-Team,
we would like to use our own columntypes in a RadGrid in order to make the filter control a combobox.
We have the following code in the ColumnCreated-Event:
if (boundColumn.UniqueName.Equals("CaseStage"))
{
grid.MasterTableView.Columns.Remove(boundColumn);
CustomFilteringColumn cfBoundColumn = new CustomFilteringColumn();
grid.MasterTableView.Columns.Add(cfBoundColumn);
cfBoundColumn.DataField = "CaseStage";
cfBoundColumn.HeaderText = "CaseStage";
}
When we then try to filter the Grid using one of the other filter fields we get the following error message:
Uncaught Sys.WebForms.PageRequestManagerServerErrorException: Sys.WebForms.PageRequestManagerServerErrorException: Cannot create column with the specified type name: CustomFilteringColumn
Can you help us interpret the error message or perhaps suggest an alternative way to make the filtercontrol a combobox when using auto-generated columns?
Thank you in advance!
Roxane