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

RadNumericTextBox Overflow Assigning Double.MinValue to Value Property

1 Answer 70 Views
Input
This is a migrated thread and some comments may be shown as answers.
Dennis
Top achievements
Rank 1
Dennis asked on 12 Feb 2008, 10:19 PM
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?

Thanks.

1 Answer, 1 is accepted

Sort by
0
Accepted
Pavel
Telerik team
answered on 14 Feb 2008, 02:22 PM
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,
Pavel
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Input
Asked by
Dennis
Top achievements
Rank 1
Answers by
Pavel
Telerik team
Share this question
or