RadNumericTextbox with DisplayMask

2 posts, 0 answers
  1. Stalin
    Stalin avatar
    15 posts
    Member since:
    Jun 2012

    Posted 30 Jul 2013 Link to this post

    Hi,

    Is it possible to have bullet symbol as the DisplayMask setting value, so that the masking shows bullet "." symbol instead of masking special character ?

    Right now am using "X" as the masking value, by setting RadNumericTextBox.DisplayMask = "XXXX". I tried putting ASCII name for bullet symbol but that didn't work.

    Thanks,
    Stalin
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 30 Jul 2013 Link to this post

    Hi Stalin,

    Please have a look into the sample code I tried to display a bullet mask which worked fine at my end.

    C#:
    //Setting four digit mask
    RadMaskedTextBox1.Mask = "####";
    //Setting the display mask as bullet symbol \u2022 is rendered as a bullet
    RadMaskedTextBox1.DisplayMask = "\u2022\u2022\u2022\u2022";

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