RadMaskedTextBox PromptChar

2 posts, 0 answers
  1. Alex
    Alex avatar
    1 posts
    Member since:
    Oct 2008

    Posted 04 May 2012 Link to this post

    Hello
    Is it possible  to set PromptChar for RadMaskedTextBox via javascript, something like

    var Addr = $find(idAddr);

    Addr._setPromptChar("_");

    Thanks, Alex.

  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 04 May 2012 Link to this post

    Hi Alex,

    Try the following JavaScript to set PromptChar property to RadMaskedTextBox.

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

    Thanks,
    Princy.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top