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
3475
WebPercentEditor allowing value to go above MaxValue when using the up arrow key
posted

The WebPercentEditor allows the value to go above the MaxValue when using the up arrow key.  The old WebPercentEdit control did not allow this.  For example, the HTML code below will only allow a max of 99.999 to be typed in by the user but they can use the arrow key to increase the value.  Is there a way around this?

   

<ig:WebPercentEditor ID="wpeRate" runat="server" 

Width="50px" 

SkinID="Decimal3"

MaxValue="99.999"

MinValue="0" 

MaxLength="6"

Nullable="True"

MinDecimalPlaces="3"

Style="z-index: 110; left: 12px; position: absolute; top: 0px">

</ig:WebPercentEditor>

Parents
No Data
Reply
  • 15320
    Offline posted

    Hello Autumn,


    After further testing, our developers informed me that this is not a bug and it's the correct behavior of the WebPercentEditor because of the percentage conversions and calculations that it perform. When you set Max value to 99.999, this means 9999% because the editor converts the number in percent multiplying it to 100.
    If you have any questions, please let me know.



    Regards,

    Tsanna

Children