Cannot clear NumericUpDownExt value through keyboard.

Once a value has been entered the control always reverts to the last value when cleared and tabbed out of. Is there a way to set up the NumericUpDownExt control so that its value can be left blank after the control looses focus?

5 Replies

AD Administrator Syncfusion Team April 4, 2005 05:18 PM UTC

Hi Mike, NumericUpDownExt is an extension of the .NET NumericUpDown. So since NumericUpDown does not support blank/null values, neither does NumericUpDownExt. Regards, Gregory Austin Syncfusion Inc.


MI Mike April 5, 2005 07:07 PM UTC

I just tested the original NumericUpDown control and it DOES leave the control blank after something has been entered and cleared. So this seems to be a feature of the Syncfusion''s extended control.


AD Administrator Syncfusion Team April 5, 2005 07:33 PM UTC

Hi Mike, The NumericUpDown control can be cleared visually, but if you call NumericUpDown.Value, you''ll still get the old value. NumericUpDownExt just removes that ambiguity. Regards, Gregory Austin Syncfusion Inc.


MI Mike April 6, 2005 06:15 PM UTC

If the field Text property was left blank, I could check this property and mark my model that the field value was empty. The angle to look at it should be the usability for the user, not the ambiguity in the underlying component. Please let me know if there is a way to programmatically suppress the behavior that Syncfusion has introduced.


AD Administrator Syncfusion Team April 7, 2005 03:17 PM UTC

Hi Mike, I''ve looked into this some more and, while I still believe that NumericUpDown''s handling of blank values is a bug, I do see the value it adds. Therefore, I have requested that the ability to handle null values be added to NumericUpDownExt as Feature Request #131. Regards, Gregory Austin Syncfusion Inc.

Loader.
Up arrow icon