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

[Solved] IntegerTextBox OnChange event repeats spinner select

2 Answers 119 Views
NumericTextBox
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Graeme Atkinson
Top achievements
Rank 1
Graeme Atkinson asked on 02 Jun 2011, 04:58 AM
Hi,

I have a simple IntegerTextBox -->

@(Html.Telerik().IntegerTextBoxFor(model => model.Male)
                                    .MinValue(0)
                                    .MaxValue(5)
                                    .ClientEvents(events => events.OnChange("onChange"))
                    )

As soon as I add the OnChange event, whenever either the up or down spinner is clicked (once!) the entered value increments to the max or min (depending on button) triggering the event at each change. In the above example, if the initial value is 0 and up spinner is selected, then five events are triggered (i.e. until the MaxValue is reached).

I am using version 2011.1.315 of the library.

Is this a bug???

Many thanks!

2 Answers, 1 is accepted

Sort by
0
Adetokunbo
Top achievements
Rank 1
answered on 09 Aug 2011, 09:55 PM
I am experiencing the same problem but I am running version 2011.1.414
Did you manage to get a solution?


0
Atanas Korchev
Telerik team
answered on 10 Aug 2011, 05:56 AM
Hello Adetokunbo,

 I suggest upgrading to a more recent version. The problem does not seem to be present in our online demo.

All the best,
Atanas Korchev
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
NumericTextBox
Asked by
Graeme Atkinson
Top achievements
Rank 1
Answers by
Adetokunbo
Top achievements
Rank 1
Atanas Korchev
Telerik team
Share this question
or