How to remove the red border and button on RadMaskedInput

6 posts, 1 answers
  1. Smith
    Smith avatar
    10 posts
    Member since:
    Jul 2012

    Posted 19 Jul 2012 Link to this post

    By default on mouseover RadMaskedInput shows red border and red circle button (see attachment), is there a way to remove it.
  2. Answer
    Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 19 Jul 2012 Link to this post

    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.

  3. UI for WPF is Visual Studio 2017 Ready
  4. Smith
    Smith avatar
    10 posts
    Member since:
    Jul 2012

    Posted 19 Jul 2012 Link to this post

    Thanks for your quick reply. It works
  5. Smith
    Smith avatar
    10 posts
    Member since:
    Jul 2012

    Posted 19 Jul 2012 Link to this post

    The red border was a validation issue so I fixed that
  6. Rafael
    Rafael avatar
    1 posts
    Member since:
    Apr 2014

    Posted 10 Jul 2015 in reply to Tina Stancheva Link to this post

    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)....
  7. Evgenia
    Admin
    Evgenia avatar
    1406 posts

    Posted 15 Jul 2015 Link to this post

    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
Back to Top
UI for WPF is Visual Studio 2017 Ready