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

URGENT - Problem filtering DateTime IsNull

1 Answer 121 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Nuno
Top achievements
Rank 1
Nuno asked on 22 Dec 2010, 04:47 PM
Hi everybody,

Hope you can help me... i'm going crazy with this one :S

I use a GridTemplateColumn defined as  DataType="System.DateTime". When I use isNull option in the grid filter, returns me the error: 
Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerServerErrorException: String was not recognized as a valid DateTime.

How can I solve this problem? Can anyone help me?
Thanks,
Nuno

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 23 Dec 2010, 10:06 AM
Hello Nuno,

Try to set  the EnableLinqExpressions of the grid to false and check whether it resolves the error.

ASPX:
<telerik:RadGrid ID="RadGrid1" runat="server"  AllowFilteringByColumn="true" EnableLinqExpressions="false">

Thanks,
Princy.
Tags
Grid
Asked by
Nuno
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or