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

[Solved] DateTimePicker in Filter

1 Answer 44 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.
Kuangyi
Top achievements
Rank 1
Kuangyi asked on 03 Aug 2012, 08:29 PM
Hi, I'm trying to get datetimepicker into the grid filter, exactly like http://www.telerik.com/community/forums/aspnet-mvc/grid/datetime-column-sort-and-filter-don-t-work-as-expected-together.aspx

Has the suggestion been implemented?  If so, it says to use [DataType(DataType.DateTime)]  but my columns are created by binding manually to a Type, and that Type is created dynamically, so there's no annotations.

If not, how do I get a datetime picker into a grid filter?

Thanks

1 Answer, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 08 Aug 2012, 01:33 PM
Hello Kuangyi,

Using a DateTimePicker in the filter menu is still not supported. The approach with setting the column format should be used to allow the time to be entered when filtering a DateTime column.

Regards,
Daniel
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
Kuangyi
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Share this question
or