Stop Text Highlight/Selection

2 posts, 0 answers
  1. Kim
    Kim avatar
    23 posts
    Member since:
    Dec 2012

    Posted 29 Aug 2016 Link to this post

    Hi, how can I stop the user from highlighting text of the selected item in a combo?


    See image.



  2. Ivan Danchev
    Ivan Danchev avatar
    1302 posts

    Posted 01 Sep 2016 Link to this post

    Hello Kim,

    You can prevent the highlighting with the following CSS rule:
    .rcbInput  {
        -webkit-touch-callout: none; /* iOS Safari */
        -webkit-user-select: none;   /* Chrome/Safari/Opera */
        -moz-user-select: none;      /* Firefox */
        -ms-user-select: none;       /* Internet Explorer/Edge */
        user-select: none

    Ivan Danchev
    Telerik by Progress
    Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
Back to Top