RadMaskedTextBox not showing EmptyMessage

3 posts, 1 answers
  1. Tom Rasmussen
    Tom  Rasmussen avatar
    20 posts
    Member since:
    Jan 2009

    Posted 05 Nov 2012 Link to this post

    We have had problems with RadMaskedTextBox showing the EmptyMessage since upgrading to 2012 Q2.  Previously this was not a probhlem.  The following markup just shows the expected input rather than the empty message.

    <telerik:RadMaskedTextBox ID="SSNTextBox" runat="server" EmptyMessage="SSN" Mask="###-##-####" />

    See the attached screenshot.
  2. Answer
    Vasil
    Admin
    Vasil avatar
    1547 posts

    Posted 07 Nov 2012 Link to this post

    Hello,

    Set HideOnBlur="true" for your RadMaskedTextBox and the mask will hide on blur, showing the empty message if such is provided.

    All the best,
    Vasil
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Tom Rasmussen
    Tom  Rasmussen avatar
    20 posts
    Member since:
    Jan 2009

    Posted 07 Nov 2012 Link to this post

    That was it.  Thank you.
Back to Top