Intergers in RadNumericUpDown

2 posts, 0 answers
  1. Andreas
    Andreas avatar
    36 posts
    Member since:
    Sep 2008

    Posted 22 Jun 2010 Link to this post

    Hi,

    is it possible to restrict the text which can be entered by the user to integer?

    Currently I define my RadNumericUpDown as follows:

                this.numbericUpDown.ValueFormat = ValueFormat.Numeric;
                this.numbericUpDown.IsInteger = true;
                this.numbericUpDown.NumberFormatInfo.NumberDecimalDigits = 0;
                this.numbericUpDown.NumberFormatInfo.NumberGroupSeparator = "";
                this.numbericUpDown.Maximum = int.MaxValue;
                this.numbericUpDown.Minimum = 1;

    This way the user can enter for example 54.30 which is only converted to 54 when the RadNumericUpDown looses the focus. Moreover if the user clicks again into the  RadNumericUpDown, 54.30 appears again. Cant I just omit that any double, too large or too small number can be entered??

    Best regards,
    Stefan
  2. Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 24 Jun 2010 Link to this post

    Hi Stefan,

    Thank you for contacting us.

    We have logged this issue in our bug tracking system. You can find it with PITS ID = 2533. There you can track its status and see when it is going to be fixed. Your Telerik points have been updated for your involvement.

    If you have any other concerns about our controls please feel free to contact us again.

    Greetings,
    Konstantina
    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
  3. DevCraft banner
Back to Top