This is a migrated thread and some comments may be shown as answers.

RadMaskedTextBox PromptChar

1 Answer 85 Views
Input
This is a migrated thread and some comments may be shown as answers.
Alex
Top achievements
Rank 1
Alex asked on 04 May 2012, 12:42 PM
Hello
Is it possible  to set PromptChar for RadMaskedTextBox via javascript, something like

var Addr = $find(idAddr);

Addr._setPromptChar("_");

Thanks, Alex.

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 04 May 2012, 01:11 PM
Hi Alex,

Try the following JavaScript to set PromptChar property to RadMaskedTextBox.

JS:
var tb = $find("<%= RadMaskedTextBox1.ClientID %>");
tb.set_promptChar("#");

Thanks,
Princy.
Tags
Input
Asked by
Alex
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or