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

Kendo ui datepicker in inline editing grid with AU date format in the database

1 Answer 124 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Steven
Top achievements
Rank 1
Steven asked on 23 Apr 2013, 07:18 AM
Hi Guys,


Since Our database is using AUS format date not US Format.I have added this in my cshtml page, but it is not working since when it pass to the controller it still get the US Date format.

my cshtml page is also inside the Kendo ui tab

i have placed the following in my cshtml page, however the controller still pick up US date format:

<script type="text/javascript" src="@Url.Content("~/Scripts/kendo/cultures/kendo.culture.en-AU.min.js")" ></script>
<script>
kendo.culture("en-AU");
</script>


Please advise

1 Answer, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 25 Apr 2013, 07:25 AM
Hello Steven,

If you are using the Kendo UI Web Grid then you should use the transport parameterMap function to format the dates as needed.. Could you provide the code for the model and the Grid? 

Regards,
Daniel
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Grid
Asked by
Steven
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Share this question
or