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

RadMaskedTextBox not showing EmptyMessage

2 Answers 144 Views
Input
This is a migrated thread and some comments may be shown as answers.
Tom Rasmussen
Top achievements
Rank 1
Tom Rasmussen asked on 05 Nov 2012, 05:28 PM
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 Answers, 1 is accepted

Sort by
0
Accepted
Vasil
Telerik team
answered on 07 Nov 2012, 11:44 AM
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.
0
Tom Rasmussen
Top achievements
Rank 1
answered on 07 Nov 2012, 03:54 PM
That was it.  Thank you.
Tags
Input
Asked by
Tom Rasmussen
Top achievements
Rank 1
Answers by
Vasil
Telerik team
Tom Rasmussen
Top achievements
Rank 1
Share this question
or