Localized Dates with Telerik MVC Extensions (almost solved?)

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
12 years ago
Hi Community

We were having big problems with localized Telerik DatePicker. It didn't work in most of the cases. Today we found (almost) a solution for the problem in nopCommerce ver. 2.8:

1. You must remove the hack of Andrei from the global.asax.cs file, so the Admin part takes your current culture instead of the fixed en-US one.
2. You must add the following line of code just before the </body> end tag in the _AdminLayout.cshtml file:
@Html.Telerik().ScriptRegistrar().Globalization(true)

We have tested it with de-CH and it works fine, EXCEPT:

DatePicker fields formated like dd.mm.yyyy now always turn into red (client validation fails). If we enter a date in the format dd/mm/yyyy, the client validation accepts the date.

By the way: The same works fine on the demo site of Telerik MVC Extensions (datepicker/globalization).

Can anyone help us with this? If we get this last step working, we can use Telerik MVC Extensions with globalized systems.

Many thanks.
12 years ago
Have you found a solution to the validation problem?
Can you tell me where this validation is happening?
12 years ago
I need fix it too. Anybody can help?
11 years ago
I replaced it by JQuery Datepicker
https://www.nopcommerce.com/boards/t/25802/datepicker-validation-in-admin-area.aspx
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.