Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
300
Arrow Up/Down actions in an empty UltraNumericEditor with MaskInput
posted

 Is there any way to control the behavior of the Up/Down arrow keys in an UltraNumericEditor? I'm getting undesireable behavior with the following settings when the editor value  is empty.

ultraNumericEditor1.NumericType = Infragistics.Win.UltraWinEditors.NumericType.Double;
ultraNumericEditor1.MaskInput = "{double:-" + 17 + "." +  3 + "}";

If I press DownArrow, nothing happens. That's OK.
If I press UpArrow, the editor is populated with the following value: "-99,999,999,999,999,999"

 

If I don't set the MaskInput, the UpArrow yields the expected behavior, setting the editor value to "0"

 

thanks

Stefan