decimal places without leeding 0

4 posts, 1 answers
  1. joshua odell
    joshua odell avatar
    30 posts
    Member since:
    Sep 2008

    Posted 13 Nov 2009 Link to this post

    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
  2. Answer
    Hristo Borisov
    Admin
    Hristo Borisov avatar
    298 posts

    Posted 20 Nov 2009 Link to this post

    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.
  3. UI for WPF is Visual Studio 2017 Ready
  4. joshua odell
    joshua odell avatar
    30 posts
    Member since:
    Sep 2008

    Posted 13 Dec 2009 Link to this post

    FYI

    This is still not fixed in the 09 SP1 I just downloaded (version 2009.3.1208.35)
  5. Boyan
    Admin
    Boyan avatar
    758 posts

    Posted 17 Dec 2009 Link to this post

    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.
Back to Top