This is a migrated thread and some comments may be shown as answers.

[Solved] Grid shows a validation error on a valid value

1 Answer 131 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
JULIA
Top achievements
Rank 1
JULIA asked on 23 Jul 2010, 09:42 AM
Hello,

it seems the grid shows a validation error on a valid value.
Please look at the attachments. Is this a desired behavior?

Regards,
Timo

1 Answer, 1 is accepted

Sort by
0
Georgi Krustev
Telerik team
answered on 23 Jul 2010, 10:59 AM
Hello Timo,

This is caused by default min and max values of the InteregerTextBox UI component. You can easily modify them in the Integer editor template (Telerik.Web.Mvc.Examples/View/Shared/EditorTemplates/Integer.ascx):
<%= Html.Telerik().IntegerTextBox()
        .Name(ViewData.TemplateInfo.GetFullHtmlFieldName(string.Empty))
        .InputHtmlAttributes(new { style = "width:100%" })
        .MaxValue(int.MinValue)
        .MaxValue(int.MaxValue)
        .Value(Model)
%>

We will applied this changes in order to avoid the depicted issue.

Greetings,
Georgi Krustev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Grid
Asked by
JULIA
Top achievements
Rank 1
Answers by
Georgi Krustev
Telerik team
Share this question
or