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
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