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.

Can''t set an empty string in a IntegerTextBox

Thread ID:





11981 Mar 19,2004 01:04 AM Mar 19,2004 06:23 AM Windows Forms 1
Tags: Tools
Ionut Balas
Asked On March 19, 2004 01:04 AM

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.

Administrator [Syncfusion]
Replied On March 19, 2004 06:23 AM

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.


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.