Hi there,
Is there any difference globalisation/culture changes between the following versions: Kendo UI Complete v2013.1.319 and Kendo UI v2017.1.118 ?
After upgrading I started getting the error: " The field (insert field name) must be a date."
Do I need to upgrade the JQuery Version? Currently using v1.9.1
I'm setting the culture the same way. Using a script inside the page:
kendo.culture("@(((CultureInfo)Session["culture"]).Name)");
The code for creating the DatePicker hasn't changed:
@(Html.Kendo().DatePickerFor(model => model.DateOfTesting)
.Name("DateOfTesting")
.Format("dd MMM yyyy")
.Culture(((CultureInfo)Session["Culture"]).Name)
.HtmlAttributes(new { style = "width:100%" })
)
@Html.ValidationMessageFor(model => model.DateOfTesting)
The scripts on my page are the same:
<
script
src
=
"@Url.Content("
~/Scripts/jquery.validate.min.js")"
type
=
"text/javascript"
></
script
>
<
script
src
=
"@Url.Content("
~/Scripts/jquery.validate.unobtrusive.min.js")"
type
=
"text/javascript"
></
script
>
The scripts on the Layout Page are the same
<
script
src
=
"@Url.Content("
~/Scripts/jquery.min.js")"></
script
>
<
script
src
=
"@Url.Content("
~/Scripts/kendo.web.min.js")"></
script
>
<
script
src
=
"@Url.Content("
~/Scripts/Cultures/kendo.culture.en.min.js")"
type
=
"text/javascript"
></
script
>
@*Loading Multiple culture files in the Layout Page*@
<
script
src
=
"@Url.Content("
~/Scripts/Cultures/kendo.culture.en-US.min.js")"
type
=
"text/javascript"
></
script
>
<
script
src
=
"@Url.Content("
~/Scripts/Cultures/kendo.culture.en-GB.min.js")"
type
=
"text/javascript"
></
script
>
@*and so on for each culture*@
<
script
src
=
"@Url.Content("
~/Scripts/Cultures/kendo.culture.CULTURE .min.js")"
type
=
"text/javascript"
></
script
>
Note: The last line is just an example
If I revert to the previous version ir works properly, if I upgrade then it doesn't with the exact same code.
Any idea?
Thank you