The RadNumericUpDown control allows the user to select a numerical value via its UI. It also allows the developer to get the value selected by the user. It can
be got in two ways:
Getting the Value as Double
In order to get the selected numerical value as a double you have to use the Value property of the RadNumericUpDown
control.
CopyC#
double value = this.radNumericUpDown.Value;
Getting the Value as String
In order to get the selected value as a String you have to use the ValueString property of the RadNumericUpDown
control.
CopyC#
string valueString = this.radNumericUpDown.ValueString;