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
245
Switch input masks dynamically - ver 8.2
posted

Is it possible to switch between inputMasks dynamically?

I need to allow user to enter standard US numeric zip + 4 Codes and Canadian (alpha numeric) postal codes in the same textbox, plus show mask edit for the US zips.

Can Input Mask be set to "" on startup? 

Parents
No Data
Reply
  • 28464
    posted

    Hello Danid,

    I am not sure if I get the scenario in details, but do you need to change the mask dynamically on the client side (using javascript)? Or is this an acceptable approach? If it is, the I guess the setInputMask method is exactly what you need - documented here:

    http://help.infragistics.com/Help/NetAdvantage/NET/2008.2/CLR3.5/html/WebMaskEdit_Object_CSOM.html 

Children