RadNumericTextBox Overflow Assigning Double.MinValue to Value Property

2 posts, 1 answers
  1. Dennis
    Dennis avatar
    62 posts
    Member since:
    Oct 2007

    Posted 12 Feb 2008 Link to this post

    Working with the RadNumericTextBox, I am trying to assign the absolute floor for a double using Double.MinValue to the TextBox Value property (myRadNumericTextBox.Value = Double.MinValue). It throws a "InvalidCastException" for Text property cannot be set. Value was either too large or too small for a Double. I have no problem assigning Int32.MinValue. This occurs with MaxValue for both, also. Any ideas?

  2. Answer
    Pavel avatar
    904 posts

    Posted 14 Feb 2008 Link to this post

    Hi Dennis,

    As explained in the RadInput documentation: "Telerik RadNumericTextbox control does not support maximum/minimum value more/less than +/- 2^46. Setting the MaxValue property more than 2^46 may cause abnormalities in the RadNumericTextBox behavior."

    Sincerely yours,
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top