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.