Good day,
I was trying to use the FilterType="HeaderContext"
It works fine but whenever I have a GridDateTimeColumn I get an error just before the check list items requested event fires.
Failed to load viewstate. The control tree into which viewstate is being loaded must match the control tree that was used to save viewstate during the previous request. For example, when adding controls dynamically, the controls added during a post-back must match the type and position of the controls added during the initial request
My column is like this:
<
telerik:GridDateTimeColumn
DataField
=
"FechaSolicitud"
DataFormatString
=
"{0:yyyy-MM-dd hh:mm:ss tt}"
DataType
=
"System.DateTime"
EditDataFormatString
=
"{0:yyyy-MM-dd}"
FilterControlAltText
=
"Filter FechaSolicitud column"
HeaderStyle-Width
=
"200px"
HeaderText
=
"Fecha de solicitud"
SortExpression
=
"FechaSolicitud"
ReadOnly
=
"true"
UniqueName
=
"FechaSolicitud"
>
<
HeaderStyle
Width
=
"200px"
/>
</
telerik:GridDateTimeColumn
>
If I comment out that column, everything works fine, but I need that column, I think I can change all the columns to a bound column and use an edit item template to get what I need, but there are lots of columns and grids in different pages where I would like to use this kind of filters, is it possible to make it work without having to change a lot in each grid??
thanks