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
405
XamMaskedEditor with multiple masks
posted

Hello.

I have a masked editor and I'm trying to get it to accept input in various formats depending on the first character in the mask. eg:

if the type is 1

100/23-24-080-12W9

if the type is 2

201/D-223-R290-R23

Is this possible with the XamMaskedEditor?

James

Parents
No Data
Reply
  • 5600
    Verified Answer
    Offline posted

    Hello,

    You can achieve this with hooking to the TextChange event, and change masks at run time depending on first typed character.

    Other way is to hook to KeyDown or KeyUp event and again change masks depending on pressed key - 1 or 2.

    If you need further help, I can provide you a sample project.

    Regards,

    Anastas

Children