This question is locked. New answers and comments are not allowed.
I've trying to use NumericTextBox with my culture (es-ES) and when I put a comma separator for decimals client validation arises as it was not allowed.
This is the code in the View:
I've use the following to in _layout to set the globalization:
Does anybody know how to solve this problem?
Thanks in advance.
This is the code in the View:
@(Html.Telerik().NumericTextBoxFor(x => x.Price).Spinners(false).DecimalDigits(5).EmptyMessage(""))
I've use the following to in _layout to set the globalization:
@Html.Telerik().ScriptRegistrar().Globalization(true)
.jQuery(false)
.Scripts(scripts =>
scripts.AddGroup("CommonScript", group =>
group.Add("~/Scripts/jquery.validate.min.js")
.Add("~/Scripts/jquery.validate.unobtrusive.min.js")
)
)
Does anybody know how to solve this problem?
Thanks in advance.