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.

how to set empty doubletextbox by default

Thread ID:

Created:

Updated:

Platform:

Replies:

84398 Jun 30,2009 11:20 AM Jul 1,2009 08:09 AM Windows Forms 1
loading
Tags: EditControl
Julien
Asked On June 30, 2009 11:20 AM

Hi,
Using the doubletextbox, I don't manage to set its default value to an empty string, how can I do this please?
Regards,
Julien

Fathima Shalini P [Syncfusion]
Replied On July 1, 2009 08:09 AM

Hi Julien,

Thank you for your interest in Syncfusion Products.

Setting empty DoubleTextBox by default can be achieved using UseNullString property. Kindly refer to the code snippets provided below that illustrates this:


private void Form1_Load(object sender, EventArgs e)
{
this.doubleTextBox1.UseNullString = true;
this.doubleTextBox1.NullState = true;
this.doubleTextBox1.NullString = "";
}


Please let me know if any concerns.

Regards,
Fathima

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.

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.

;