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

how to set empty doubletextbox by default

Thread ID:





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

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

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.



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.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

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