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.

PercentTextBox has problems

Thread ID:

Created:

Updated:

Platform:

Replies:

60819 May 11,2007 06:41 PM May 19,2007 04:57 AM Windows Forms 3
loading
Tags: EditControl
Yifei Hong
Asked On May 11, 2007 06:41 PM

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 !

Murugan [Syncfusion]
Replied On May 15, 2007 08:08 PM

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

Yifei Hong
Replied On May 17, 2007 10:11 PM


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

Please help. Thanks

Golda Rebecal [Syncfusion]
Replied On May 19, 2007 04:57 AM

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

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.

;