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

Telerik MVC Grid DataTime column Filter

3 Answers 34 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.
hari
Top achievements
Rank 1
hari asked on 21 Mar 2013, 01:14 PM
Hi,

i am working on MVC 3 Telerik grid, having DateAndTime column in grid, i am not able to filter the DateTime column,i want the grid to filter by both date and time.
if i use the column format to date,its working fine, but not working for both.Is there any solution to filter by both?

Thanks,

3 Answers, 1 is accepted

Sort by
0
Vladimir Iliev
Telerik team
answered on 26 Mar 2013, 09:47 AM
Hi Hari,

I'm not sure if I understand you correctly but currently you can enable filtering by time part of the DateTime column by setting the format of the column (like "{0:MM/dd/yyyy hh:mm:ss}"). 

Kind Regards,
Vladimir Iliev
the Telerik team
Check out the successor of Telerik MVC Extensions - Kendo UI for ASP.NET MVC - and deem it for new ASP.NET MVC development.
0
hari
Top achievements
Rank 1
answered on 01 Apr 2013, 03:31 PM
Thanks for the reply

I used the format and its working now, but i am getting an another issue.

If i filter the DateTimeColumn(03/28/2013 11:55:38) coulmn second time, filter text box is clearing itself and not able to submit any value to filter.It is working fine in Firefox and Chrome only problem in IE.



0
Vladimir Iliev
Telerik team
answered on 02 Apr 2013, 06:07 AM
Hi Hari,

 
I tried to reproduce the problem locally but to no avail – everything is working as expected on our side using IE7-9 (please check this screencast). Could you please provide the following details?

  • Current project culture
  • Current grid model
  • Current grid code

This would help us pinpoint the exact reason for this behavior.

Kind Regards,
Vladimir Iliev
the Telerik team
Check out the successor of Telerik MVC Extensions - Kendo UI for ASP.NET MVC - and deem it for new ASP.NET MVC development.
Tags
Grid
Asked by
hari
Top achievements
Rank 1
Answers by
Vladimir Iliev
Telerik team
hari
Top achievements
Rank 1
Share this question
or