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.
Syncfusion Feedback

Cannot clear NumericUpDownExt value through keyboard.

Thread ID:

Created:

Updated:

Platform:

Replies:

26901 Apr 4,2005 05:44 AM UTC Apr 7,2005 03:17 PM UTC Windows Forms 5
loading
Tags: Tools
Mike
Asked On April 4, 2005 05:44 AM UTC

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

Mike
Replied On 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.

Administrator [Syncfusion]
Replied On 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.

Mike
Replied On 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.

Administrator [Syncfusion]
Replied On 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.

CONFIRMATION

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.

Warning Icon 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.Close Icon

;