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
255
xamCurrencyInput SelectAll Behavior is Broken
posted

Hello,

I'm using version 13.2.20132.2284 and my code calls xamCurrencyInput.SelectAll() method within the GotFocus event handler.

However, not all characters get selected when I use the TAB key to navigate into the control (see attached image). It works OK when I use SHIFT-TAB to navigate into it (tabbing backward from control to this control)

Interestingly enough that it works OK for the xamDateTiimeInput. It used to be a problem before (see this post). The workaround offered in that post does not work for this issue.

After running this code:

maskedInput.SelectionLength = maskedInput.TextLength

The SelectionLength value is smaller than TextLength.

Parents
No Data
Reply
  • 255
    posted

    After playing with this issue a bit more, I noticed that SelectAll() works OK when called from GotKeyboardFocus even handler. I will use this as a workaround.

Children