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

Value Events Handeling

8 Answers 99 Views
NumericUpDown
This is a migrated thread and some comments may be shown as answers.
Adir
Top achievements
Rank 1
Adir asked on 25 Jun 2009, 09:39 AM
there is no event for catching up the up and down buttons click the ValueChanged event raises every time the value is changed whether if it changed by the textbox or code.
also in some cases i need to cancel the changing value action there is no such option.
i try to cancel the changing value by putting the old value, but it raised the ValueChanged event again.
last thing, i need to show a regular numeric value.
Is there any neat solution for this issue?

8 Answers, 1 is accepted

Sort by
0
Hristo Borisov
Telerik team
answered on 25 Jun 2009, 11:26 AM
Hi Adir,

We are planning to release RadNumericUpDown with changed codebase that will overcome most of your problems. Unfortunately, we are planning to include it in our service pack release. For showing regular numbers you can just set the NumberFormatInfo.NumberDecimalDigits to 0. This will show integer values. Thank you for contacting us and we are looking forward to receiving other valuable feedback.

Sincerely yours,
Hristo Borisov
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Adir
Top achievements
Rank 1
answered on 01 Jul 2009, 12:51 PM
hi,
Thanks for the response.

2 questions:
1. When is  the service pack will be released?
2. the biggest problem is the lack information i have in the ValueChanged event such as who called me: the bottuns or the free text.
is the sevice pack will includes a solution for it?

Thanks.
0
Hristo Borisov
Telerik team
answered on 02 Jul 2009, 07:57 AM
Hi Adir,

The release date is scheduled for end of June, but there may be changes to this date. We are not planning to have this feature, why would you need such information? What functionality are you trying to achieve?

Regards,
Hristo Borisov
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Adir
Top achievements
Rank 1
answered on 02 Jul 2009, 09:28 AM
my numeric up down determines how many rows will be in the grid.
I need to catch only the changing value comes from the buttons, and chanhing the grid rows accordingly.
if the user want to enter a value into the text, the grid will change only on lost focus.
the problem is that the ValueChanged event raises the first character he is entering.
0
Hristo Borisov
Telerik team
answered on 03 Jul 2009, 10:50 AM
Hello Adir,

We will improve the control to invoke the ValueChanged event only when the textbox focus is lost. This will work the same way as if you have a two way binding and start editing a data item. The setter of the data item will be invoked only when the control has lost it's focus, in our case the textbox control. We will preserve the functionality when you are changing the value with the buttons. Expect these and more changes with this control for our Service Pack 1 release of Q2.

Greetings,
Hristo Borisov
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Adir
Top achievements
Rank 1
answered on 05 Jul 2009, 08:24 AM
this will be very useful
thank you for your help,
Adir
0
alvesea
Top achievements
Rank 1
answered on 27 Jan 2010, 02:04 PM
Hi Hristo,
I am developing an application using the Q3 release.
I've had the same problem reported: I am using a Grid Cell Edit template, and when the user change de text into numeric control and presses TAB the content is being lost.

Do you have a soluton?

Thanks,

Edson,
0
Valeri Hristov
Telerik team
answered on 02 Feb 2010, 10:09 AM
Hi Edson,

Shortly after the Q3 release we added a new property to RadNumericUpDown, called UpdateValueEvent, which should help with this problem. Its value specifies the event that should update the value of the control. You just need to update your Telerik assemblies to a newer version and then set UpdateValueEvent="PropertyChanged" in the RadNumericUpDown element.

All the best,
Valeri Hristov
the Telerik team

Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Follow the status of features or bugs in PITS and vote for them to affect their priority.
Tags
NumericUpDown
Asked by
Adir
Top achievements
Rank 1
Answers by
Hristo Borisov
Telerik team
Adir
Top achievements
Rank 1
alvesea
Top achievements
Rank 1
Valeri Hristov
Telerik team
Share this question
or