This question is locked. New answers and comments are not allowed.
I have a field in my grid that uses the CurrencyTextBox() EditorTemplate and just ran into an issue.
The value that is causing the error is:
$999,999.00
I recieve the following error:
Specified argument was out of the range of valid values.
Parameter name: Value should be bigger than MinValue and less than MaxValue.
Template:
If I add a .MaxValue() property and set it well beyond what I need, all works as expected.
I can recreate this in the demos:
http://demos.telerik.com/aspnet-mvc/Grid/EditingServerSide?mode=InLine
Change any of the unit prices to anything over $1000, youll notice that you get a validation error on the page (Textbox gets highlighted red) but you can submit and it will udpate. Now try to edit this field and it will throw an error.
The value that is causing the error is:
$999,999.00
I recieve the following error:
Specified argument was out of the range of valid values.
Parameter name: Value should be bigger than MinValue and less than MaxValue.
Template:
<%= Html.Telerik(). CurrencyTextBox() .Name(ViewData.TemplateInfo.GetFullHtmlFieldName(string.Empty)) .InputHtmlAttributes(new {style="width:100%"}) .MinValue(0) .Value(Model) %>If I add a .MaxValue() property and set it well beyond what I need, all works as expected.
I can recreate this in the demos:
http://demos.telerik.com/aspnet-mvc/Grid/EditingServerSide?mode=InLine
Change any of the unit prices to anything over $1000, youll notice that you get a validation error on the page (Textbox gets highlighted red) but you can submit and it will udpate. Now try to edit this field and it will throw an error.