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
290
Problem with Maxlength in TextBox and MaxValue in UltraCurrencyTextEditor
posted

Hello all.

I have trouble with Maxlenght and MaxValue. It's work when you type but not work when you paste from Contextmenu or press Ctrl+V.

Example: When you set MaxValue = 1.000 you can not type (from keyboard) more than 1.000. But you can paste any value you want (ex: 3000). In this case, you will have a error message "Unable to update the data value. Input value dose not satisfy maximum value constraint".

Anybody help me solve this problem, or provide a solution.

Thank you

Reagard.

  • 3565
    posted

    I tried the same thing and I was unable to get the UltraTextbox or the UltraCurrencyEditor to accept values outside of the specified ranges. But I am also running the latest service release 9.1.20091.2029.

    What build are you running?

  • 469350
    Suggested Answer
    Offline posted

    I tested this out exactly are you describe here by placing an UltraCurrencyEditor control on a form. I set the MaxValue to 1.000. Then I copied the text "3000" from a TextBox and tried to paste it into the UltraCurrencyEditor and the control remained blank. So this seems to be working correctly for me.

    What version of the controls are you using? I'm using the latest service release of v8.2.

    Perhaps you need to get the latest service release.