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.

DoubleTextBox and minus

Thread ID:

Created:

Updated:

Platform:

Replies:

70340 Dec 7,2007 08:59 AM Dec 10,2007 09:10 AM Windows Forms 1
loading
Tags: EditControl
Stephane Beaudry
Asked On December 7, 2007 08:59 AM

Hi,

I am using a DoubleTextBox. I have a bug in my stack states that the minus does not appears when the value is 0. Sound weird??? Not really because of the behaviour of the standard TextBox...

Suppose that the value is 0 and you hit the minus sign, in a standard TextBox the minus will apperar. So if you want to enter -8.5 for example, the TextBox will display -, -8, -8., and -8.5.

I understand how the DoubleTextBok work and like my client, I think that it not friendly.

Is it possible to have this behaviour with the DoubleTextBox?

I expect to have a DoubleTextBox that avoids invalid entries, manages the display and manages some exceptions like the minus.

Thanks for your support

Stephane


Sri Subhashini M [Syncfusion]
Replied On December 10, 2007 09:10 AM

Hi Stephane,

Thank you for using Syncfusion product.

Standard text box gets the values as string, it does not perform any numeric validation. So minus sign will appear while typing zero.

But DoubleTextBox accepts the input values as numberic only. It validate the input internally. So, it is not possible to display the negative value for the zero value.

Please let me know if you have any question.

Regards,
Suba



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.

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.

;