Can''t set an empty string in a IntegerTextBox

Dear Sir, I have a IntegerTextBox on a form and I want to set the Text property to empty string. I set the UseNullString to true and the NullString to "" but at runtime when I want to make the Text property = "" (I use BackSpace or Delete keys for that) the Text property get "0". Thank you.

1 Reply

AD Administrator Syncfusion Team March 19, 2004 11:23 AM UTC

Hi Ionut, You could use the following code for this purpose : integerTextBox1.NullString = ""; integerTextBox1.UseNullString = true; integerTextBox1.Text = null; Please refer to the sample that shows this. Let me know if you need further assistance. Regards, Guru Patwal Syncfusion, Inc.

Loader.
Up arrow icon