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

how to set empty doubletextbox by default

Thread ID:

Created:

Updated:

Platform:

Replies:

84398 Jun 30,2009 03:20 PM UTC Jul 1,2009 12:09 PM UTC WinForms 1
loading
Tags: EditControl
Julien
Asked On June 30, 2009 03:20 PM UTC

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 12:09 PM UTC

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.

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

;