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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Can''t set an empty string in a IntegerTextBox

Thread ID:

Created:

Updated:

Platform:

Replies:

11981 Mar 19,2004 06:04 AM UTC Mar 19,2004 11:23 AM UTC WinForms 1
loading
Tags: Tools
Ionut Balas
Asked On March 19, 2004 06:04 AM UTC

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 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.

CONFIRMATION

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.

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

;