We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Cannot clear NumericUpDownExt value through keyboard.

Thread ID:





26901 Apr 4,2005 01:44 AM Apr 7,2005 11:17 AM Windows Forms 5
Tags: Tools
Asked On April 4, 2005 01:44 AM

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?

Administrator [Syncfusion]
Replied On April 4, 2005 01:18 PM

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.

Replied On April 5, 2005 03:07 PM

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.

Administrator [Syncfusion]
Replied On April 5, 2005 03:33 PM

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.

Replied On April 6, 2005 02:15 PM

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.

Administrator [Syncfusion]
Replied On April 7, 2005 11:17 AM

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.


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.