Jul 25, 2016, 5:36 PM
Set a InputMask in code behind
Dear friends,
How i can set a inputmask for a field in code behind, using a conditional string to set a different inputmask for each case?
Exemple:
Gustavo Coelho
How i can set a inputmask for a field in code behind, using a conditional string to set a different inputmask for each case?
Exemple:
String TipoPessoa = "";
if (TipoPessoa=="j")
{
InputMask = "99.999.999/9999-99";
}
else
{
inputMask = "999.999.999-99";
}
Thanks in advance,Gustavo Coelho
Last edited by fabricio.murta; Jul 26, 2016 at 8:39 PM.