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
125
igMaskEditor set dont work
posted

I have igMaskEditor in mvc, I need when change combo the igMaskEditor change the input mask I use javascript for that but i cant do this 

Control

@(Html.Infragistics().MaskEditorFor(m => m.Cliente)

.ID("txtIdentificacion")
.Render())

I tried change the input mask

 $("#txtIdentificacion").igMaskEditor('option', 'inputMask', mascara);

Error

This option can not be set runtime

Please help me

Parents
  • 4315
    Suggested Answer
    Offline posted

    Hello.

    This option cannot be changed at runtime, by design, and the error says that. You need to recreate the control in order to change the option value.

    Best regards,

    Nikolay Alipiev

Reply Children