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

decimal places without leeding 0

3 Answers 66 Views
NumericUpDown
This is a migrated thread and some comments may be shown as answers.
joshua odell
Top achievements
Rank 1
joshua odell asked on 13 Nov 2009, 02:25 PM
Hello.  I'm using the RadNumericUpDown for entering measurements.  I've set the control's decimal places property to 3 (using a binding to a business object property).  when the control has no value (meaning the value I'm binding to is null), and the control's text itself is empty, the user is able to enter a number such as ".890" without the leading 0.  However, when there is already a value in the control, such as "123.432" and the user selects the control, either by tab or by mouse click.  THe user must type in a leading 0 in order to enter a value less then 1, such as "0.890".

My client wants to be able to enter values without needing a leading 0.  I've tried handling the "GotFocus" event, and clearing the RadNumericUpDown.ValueProperty, or setting my business object's binded value to null.  However, these changes do not take effect until the user leaves the control.  Thus we get the weird behavior of the control clearing when the user leaves the control, instead of when they enter it.

Any ideas would be great.  Thanks

Joshua

3 Answers, 1 is accepted

Sort by
0
Accepted
Hristo Borisov
Telerik team
answered on 20 Nov 2009, 11:29 AM
Hi Joshua,

Please excuse us for this inconvenience. We will definitely fix this for our Service Pack release that is scheduled in a few weeks. I will notify you as soon as we implement the property, and it is available in our internal builds. If this timeframe is inconvenient for you, and this is a show stopper, I will push its priority to be implemented asap. Thank you for contacting us and for reporting this problem. Your Telerik Points have been updated.

All the best,
Hristo Borisov
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
joshua odell
Top achievements
Rank 1
answered on 14 Dec 2009, 01:58 AM
FYI

This is still not fixed in the 09 SP1 I just downloaded (version 2009.3.1208.35)
0
Boyan
Telerik team
answered on 17 Dec 2009, 09:49 AM
Hi joshua odell,

 This fix was dropped from SP1 as some high priority issues occurred and we didn't have the needed time. We are very sorry for the caused inconvenience. We will fix this next week and it will available in next week Internal Build.


Kind regards,
Boyan
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
NumericUpDown
Asked by
joshua odell
Top achievements
Rank 1
Answers by
Hristo Borisov
Telerik team
joshua odell
Top achievements
Rank 1
Boyan
Telerik team
Share this question
or