I am using NetAdvantage 5.1 version and right now i am facing one problem with webpercentedit
Problem Deatils:
If i enter 16.5% , it taken as 16% after page got refresh
if i enter 16.75%, it taken as 17% after page got refresh
Can you pls provide any suggestion, how to resolve this issue
Hi,
I can not explain that. Number of decimal places is defined by CultureInfo.NumberFormat.PercentDecimalDigits property. For US culture that value is 2.
Try to test a temporary page which has only WebPercentEdit with default settings and a postback button.Enter value in editor and click button. If it will behave as you described, then the only guess I have, that 2009 vol 1. was broken. Please get latest service release. I can not reproduce that in current/latest versions.
I am using 2009 vol 1, the value saved is rounded. 16.5% will be saved as 17 and 16.4% is saved as 16.0%. Any suggestions
Hi Aon11,
I can not reproduce that. If I enter "16.5", then on lost focus it is converted to "16.50 %", the "16.75" is converted to "16.75 %". Those values are not changed by postback.