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
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