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

[Solved] Filtering on date columns

1 Answer 98 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Raj
Top achievements
Rank 1
Raj asked on 02 Jun 2009, 06:52 PM
I have a RadGrid with multiple columns.  One of which is a date column which is not visible (so we can sort by date).  The troublesome column is the string version of the date column.

It sorts as expected which is great.

If you enter an exact match for the filter it brings back the correct records (i.e. 06/08/2009 will bring back all records with that date).

For some reason though, if you then re-enter the filter text box, and don't change anything, simply pressing enter as if to reapply the filter, causes a java error (detailed below).

If you enter an exact date into the filter and press enter, then apply a second/third filter to one of the other non-date columns, it also works as expected.

However, if you apply a filter to one of the other non-date columns first, and then apply a filter to the date column (so it is not the first column you filter by) you get the same java error.

Can someone explain what I'm doing wrong please?

Some code is available on demand (confidentiality and all that...)

Java Error:

http://i198.photobucket.com/albums/aa92/Smudge202/DateColumnError.jpg

Thanks in advance for your help.

Raj Patel

1 Answer, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 03 Jun 2009, 02:25 PM
Hi Raj,

Unfortunately I could not reproduce the issue on the live site. At this point in order to find a quick solution/fix, it will be best if you can send us a simple running project demonstrating the problem (and step-by-step instructions on doing so). In that way we can reproduce and pinpoint the problem you're facing on our side, understand the logic of your application and provide a solution.

Sincerely yours,
Pavlina
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.
Tags
Grid
Asked by
Raj
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Share this question
or