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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

IntegerTextBox - Empty Text

Thread ID:





96501 Sep 16,2010 07:25 PM UTC Sep 21,2010 05:00 AM UTC WinForms 3
Tags: Tools
Julie Levy
Asked On September 16, 2010 07:25 PM UTC

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 04:51 PM UTC

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 08:30 PM UTC

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 05:00 AM UTC

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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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