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

[Solved] Getting error by using BETWEEN filter

2 Answers 105 Views
Grid
This is a migrated thread and some comments may be shown as answers.
bobTc
Top achievements
Rank 1
bobTc asked on 27 Oct 2009, 09:05 AM
I have a RadGrid which I bind it to a table of dataset. All the filters work apart from BETWEEN which I get the following error:
"Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerServerErrorException: Operator '>=' incompatible with operand types 'Object' and 'Double'"

This error happens for all the data tyeps. Does anybody know what is the problem? Thanks for your help.

2 Answers, 1 is accepted

Sort by
0
Accepted
Mira
Telerik team
answered on 30 Oct 2009, 10:07 AM
Hi Babak,

Please try setting the EnableLinqExpressions property of the RadGrid to false and tell me whether it helps.

Sincerely yours,
Mira
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
bobTc
Top achievements
Rank 1
answered on 03 Nov 2009, 02:42 AM
Hi Mara,
Setting the EnableLinqExpressions to false solved the problem. Thank you.
Tags
Grid
Asked by
bobTc
Top achievements
Rank 1
Answers by
Mira
Telerik team
bobTc
Top achievements
Rank 1
Share this question
or