Stop Text Highlight/Selection

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

    Posted 29 Aug 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
    835 posts

    Posted 01 Sep 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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top