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

[Solved] Error filtering DateTime Column

1 Answer 99 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Vinicius
Top achievements
Rank 1
Vinicius asked on 17 Nov 2011, 04:44 PM
I'm trying to filter a "DateTime?" column but I'm getting the following error on javascript:

Object Mon Jan 31 2011 00:00:00 GMT-0300 (E. South America Standard Time) has no method 'indexOf'

I'm using version 2011.2.712.340 for MVC3

I've added a format to the column cs.Bound(c => c.Date).Format("{0:dd/MM/yyyy}");

1 Answer, 1 is accepted

Sort by
0
Vinicius
Top achievements
Rank 1
answered on 17 Nov 2011, 04:47 PM
On FireBug I get the following error:

h.indexOf is not a function
Tags
Grid
Asked by
Vinicius
Top achievements
Rank 1
Answers by
Vinicius
Top achievements
Rank 1
Share this question
or