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.

IntegerTextBox - Empty Text

Thread ID:





96501 Sep 16,2010 03:25 PM Sep 21,2010 01:00 AM Windows Forms 3
Tags: Tools
Julie Levy
Asked On September 16, 2010 03:25 PM

Hi - we are using version 7.4 and notice that the IntegerTextBox no longer allows an empty value. It sets the text value to "0" even though in the code i am setting it to be null and our nullstring is "".

If i call .Clear() in code it will clear out. However, when the user enters a value and the deletes it, the 0 comes back.

What is the proper way to configure the control to null out programmatically and honor the nullstring as well as when the user deletes a value.


Vallarasu S [Syncfusion]
Replied On September 17, 2010 12:51 PM

Hi Julie,

Thanks for your interest in Syncfusion products,

You should set UseNullString property of the IntegerTextBox to 'true' to achieve the behavior,

this.integerTextBox1.NullString = string.Empty;
this.integerTextBox1.UseNullString = true;

Please let us know if you have concerns on this,

Vallarasu S.

Julie Levy
Replied On September 20, 2010 04:30 PM

Thanks. This isn't working with the latest patch i received for Shared.Base.dll. I'll log an incident.

Vallarasu S [Syncfusion]
Replied On September 21, 2010 01:00 AM

Hi Julie,

We are happy to assist you and,

We will look forward for your incident.

Vallarasu S.


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.