Hi there
I am applying a filter in a radGrid on pre_Render, its works great, but when I add a date field, it doesn't bring any results.
Here is a example of what I am doing:
and the aspx
It works great without the [TimeStamp] filter.
Any idea why this is not working?
Thank you.
I am applying a filter in a radGrid on pre_Render, its works great, but when I add a date field, it doesn't bring any results.
Here is a example of what I am doing:
DateTime startDate = DateTime.Parse(
"2013-10-01"
);
uxBookOrderGrid.MasterTableView.FilterExpression =
"(([StatusDescription] LIKE \'%Approved%\') AND ([TimeStamp] >= '"
+ startDate.ToString(
"g"
) +
"'))"
;
uxBookOrderGrid.Rebind();
<
telerik:GridDateTimeColumn
DataFormatString
=
"{0:g}"
DataType
=
"System.DateTime"
FilterControlWidth
=
"90%"
HeaderText
=
"Date"
DataField
=
"TimeStamp"
UniqueName
=
"TimeStamp"
/>
Any idea why this is not working?
Thank you.