how to set empty doubletextbox by default

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

1 Reply

FS Fathima Shalini P Syncfusion Team 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

Loader.
Up arrow icon