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

How to remove the red border and button on RadMaskedInput

5 Answers 304 Views
MaskedInput (Numeric, DateTime, Text, Currency)
This is a migrated thread and some comments may be shown as answers.
Smith
Top achievements
Rank 1
Smith asked on 19 Jul 2012, 08:06 AM
By default on mouseover RadMaskedInput shows red border and red circle button (see attachment), is there a way to remove it.

5 Answers, 1 is accepted

Sort by
0
Accepted
Tina Stancheva
Telerik team
answered on 19 Jul 2012, 08:16 AM
Hi Smith,

You can get remove the ClearButton through the IsClearButtonVisible property - just set it to False. You can find more information about the common properties of the MaskedInput controls in our documentation.

However, I am not sure why you see the red border - it is usually an indicator of a failed validation. This is why I want to ask you to please share with us the definition of the control so that we can suggest how to get over the validation issue. Thank you in advance.

Regards,
Tina Stancheva
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Smith
Top achievements
Rank 1
answered on 19 Jul 2012, 08:23 AM
Thanks for your quick reply. It works
0
Smith
Top achievements
Rank 1
answered on 19 Jul 2012, 08:28 AM
The red border was a validation issue so I fixed that
0
Rafael
Top achievements
Rank 1
answered on 10 Jul 2015, 11:14 PM
Hi Tina, I am actually trying to get rid of a blue border that appears when typing any text inside the box (on focus/selected)....
0
Evgenia
Telerik team
answered on 15 Jul 2015, 08:39 AM
Hello Rafael,

The blue border that you see is visual indication of MaskedInput control being Focused. You might disable it if you explicitly set the Focusable property of the control to False. Alternatively you might modify the default control template and remove the Border that is added on Focused visual state or make it Transparent. You might find how to extract our default controls templates from this help topic.

Regards,
Evgenia
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
MaskedInput (Numeric, DateTime, Text, Currency)
Asked by
Smith
Top achievements
Rank 1
Answers by
Tina Stancheva
Telerik team
Smith
Top achievements
Rank 1
Rafael
Top achievements
Rank 1
Evgenia
Telerik team
Share this question
or