Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
620
WebPercentEditor Text and Value Do Not Match
posted

Since updating to the latest 14.2 controls, WebPercentEditors that used to work fine no longer display the proper value (control settings below. If I enter 10, it displays as 10 in the Text value, then upon leaving the field, the percentage value appears as .1%. Previously, entering 10 would display 10%. What is the reason for the change and how do I fix it

<ig:WebPercentEditor ID="txtChgPercent" runat="server" CssClass="seven-five alive" MinValue="0" OnEnterKeyPress="txtChgPercent_ValueChanged">
<AutoPostBackFlags ValueChanged="On" />
</ig:WebPercentEditor>

Incidentally, this is not the first similar type of issue I've run into after upgrading to a new version. Is there some documentation I'm missing where it's explained how a control has been arbitrarily adjusted to no longer function in a similar and basic manner?

  • 11095
    Offline posted

    Hello,

    I am still following up. Have you been able to resolve the issue?
    If you have any concerns or questions, please feel free to contact me, I will be glad to help you.
    Thank you for choosing Infragistics components!

  • 11095
    Offline posted

    Hello Dale,

    Thank you for your patience!

    This behavior was (showing 10,00% not 0,1%) incorrect in our previous releases and was fixed in the latest. To achieve your goal you can use the DisplayFactor property of the WebPercentEditor with value 1. (for more refer to http://help.infragistics.com/Help/Doc/ASPNET/2014.2/CLR4.0/html/WebPercentEditor_Using_Display_Factor_in_WebPercentEditor.html). I have also attached a sample project.

    Please let me know if I may be of further assistance.

    WebPercentEditorDisplayFactor.zip
  • 11095
    Offline posted

    Hello Dale,

    Thank you for reporting this.

    I have asked our engineering staff to examine this further. To ensure that it will receive attention, I have logged this behaviour in our internal tracking system with a Development ID of 187542. A support case is created on your behalf with number CAS-149828-X2N5Y4, so that you can be notified when the bug is fixed.
    You can find your active cases under Account - Support Activity in our website. Select your ticket and go to Development Issues tab to view the status of related bugs.

    Let me know if I may be of further assistance.