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. Image for the cookie policy date
close icon

PercentTextBox has problems

I was trying to use the following the statement to get/set values to the PercentTextBox pctABC

public double ABCPct
{
get { return pctABC.DoubleValue; }
set { pctABC.DoubleValue = value; }
}

I found that the value could not be set to the pctABC.DoubleValue.

Please let me know how I can get around this issue. Thanks !

3 Replies

MU Murugan Syncfusion Team May 16, 2007 12:08 AM UTC

Hi Yifei,

We have to set DoubleValue less than or equal 1 (.00 to 1 ). Could you please try set the value and let me know if it helps you.

[Code]
private void button1_Click(object sender, EventArgs e)
{
this.percentTextBox1.DoubleValue = .33;
}

Thank you for your interest in Syncfusion products.

Regards,
Murugan P.S


YH Yifei Hong May 18, 2007 02:11 AM UTC


Yes, I did try to set DoubleValue as some value less than 1 (0.000092). It does not work.

Please help. Thanks


GR Golda Rebecal Syncfusion Team May 19, 2007 08:57 AM UTC

Hi Yifei,

Thanks for bringing this issue to our attention.

I am able to reproduce the issue of DoubleValue property of the PercentTextBox not being set for values like 0.000092(ie if the value contains more than three consecutive zeroes after the decimal point) but I found it working fine for all other values.

Could you please create a Direct-Trac incident with the subject line "PercentTextBox has problems - F60819" so that we could give more details regarding the fix?

Best regards,
Golda

Loader.
Live Chat Icon For mobile
Up arrow icon