How can I set up a RadNumericTextBox to cope with the full range of an int64?
I currently have:
According to MSDN,the maxvalue of int64 is 9223372036854775807.
It appears to be impossible to configure a RadNumericTextBox to accept and return this number.
If you set DataType="System.Int64" and enter 9223372036854775807, the control changes it to 9223372036854776000.
If you try and read back 9223372036854776000 then .DbValue throws an overflowexception, and .Text returns "9.22337203685478E+18".
Does RadNumericTextBox support int64 or not?
Thanks.
I currently have:
<telerik:RadNumericTextBox ID="RadNumericTextBox1" DataType="System.Int64" runat="server" Culture="en-US" EnableSingleInputRendering="True" LabelWidth="64px" MaxValue="9223372036854775807" MinValue="0"><NumberFormat ZeroPattern="n" AllowRounding="False" DecimalDigits="0" GroupSeparator=""></NumberFormat> </telerik:RadNumericTextBox>According to MSDN,the maxvalue of int64 is 9223372036854775807.
It appears to be impossible to configure a RadNumericTextBox to accept and return this number.
If you set DataType="System.Int64" and enter 9223372036854775807, the control changes it to 9223372036854776000.
If you try and read back 9223372036854776000 then .DbValue throws an overflowexception, and .Text returns "9.22337203685478E+18".
Does RadNumericTextBox support int64 or not?
Thanks.