IntegerTextBox - Empty Text

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.

Thanks,
Julie


3 Replies

VS Vallarasu S Syncfusion Team 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,

Regards
Vallarasu S.



JL Julie Levy 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.



VS Vallarasu S Syncfusion Team September 21, 2010 05:00 AM UTC

Hi Julie,

We are happy to assist you and,

We will look forward for your incident.

Regards
Vallarasu S.


Loader.
Up arrow icon