Hi,
I'm having a problem with a custom plugin in combination with the Telerik NumbericTextbox field.
I'm using the _AdminPopupLayout.cshtml that uses the parent layout _AdminLayout.cshtm and it's loaded into an iframe in a new tab inside the product variant. Just for the details: When a user hits save, the data is posted back using Ajax.
When using the default language (English) its working just fine. But when I use Dutch for instance the decimal pointers are mixed up in the formatted value. This form is the only form with this behaviour strange enough.
On telerik I find that I need to use script globalization, but this should already be done I think in nopCommerce. Where is it done and do I need to take care of it in my own plug-ins ?
http://demos.telerik.com/aspnet-mvc/razor/numerictextbox/globalization
The latest source code can be found here http://noppreciousmetals.codeplex.com/SourceControl/list/changesets
--> Extra info:
When I change the _AdminLayout.cshtml
@(MvcHtmlString.Create(HttpUtility.HtmlDecode(Html.Telerik().ScriptRegistrar()
into
@(MvcHtmlString.Create(HttpUtility.HtmlDecode(Html.Telerik().ScriptRegistrar().Globalization(true)
I get numberic in the right culture, and in my plugin view it is working.
However, the other views & (standard administration) views still have the wrong culture but DO work.