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

How do you use the between filter option on the grid?

8 Answers 602 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Acadia
Top achievements
Rank 1
Iron
Acadia asked on 22 Jun 2009, 11:16 AM
What is the syntax to find a value between two dates or two numbers for instance?  AND doesn't work and neither does the comma.

Thanks

8 Answers, 1 is accepted

Sort by
0
Accepted
Daniel
Telerik team
answered on 22 Jun 2009, 12:28 PM
Hello Acadia,

The "between" filter separator is just an empty space. For example: "10/10/2000 11/11/2001"

Let me know whether this helps.

Regards,
Daniel
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Acadia
Top achievements
Rank 1
Iron
answered on 22 Jun 2009, 12:43 PM
That worked perfectly thanks!
0
Victor
Top achievements
Rank 1
answered on 25 Dec 2009, 04:24 PM
i am doing same to filter data by Between but getting error. i am using rad Telrik ASP AJAX Q1 2009  controls
   Sys.Webforms.PageRequestManageServerException: Operator ">=  " in compatable with Operand type 'Object' and 'String'

 can you please help me .
0
Princy
Top achievements
Rank 2
answered on 28 Dec 2009, 05:57 AM
Hi Vivek,

Can you try setting the EnableLinqExpressions property of the RadGrid to false and check if it helps.

Thanks
Princy.
0
Victor
Top achievements
Rank 1
answered on 28 Dec 2009, 09:10 AM
Thanks Princy.
0
Kevin Smith
Top achievements
Rank 1
answered on 09 Feb 2012, 05:20 PM
How about filtering dates utilizing Between where the dates include a time/hour stamp?  I've tried "20-Jan-2011 12:00 PM PST 31-Dec-2011 12:00 PM PST" with no luck.  Any hints/tips?

0
Shinu
Top achievements
Rank 2
answered on 10 Feb 2012, 03:50 AM
Hello Kevin,

Check the following help documentation which explains more about this.
Filtering for DateTime Bound Column with DataFormatString Different from mm/dd/yyyy.

-Shinu.
0
Kevin Smith
Top achievements
Rank 1
answered on 10 Feb 2012, 03:40 PM
Hello Shinu,

Thank you for your reply.  

Thanks!
Tags
Grid
Asked by
Acadia
Top achievements
Rank 1
Iron
Answers by
Daniel
Telerik team
Acadia
Top achievements
Rank 1
Iron
Victor
Top achievements
Rank 1
Princy
Top achievements
Rank 2
Kevin Smith
Top achievements
Rank 1
Shinu
Top achievements
Rank 2
Share this question
or