How to avoid cursor in Rad Combo Box

3 posts, 0 answers
  1. Palanivelrajan
    Palanivelrajan avatar
    27 posts
    Member since:
    Oct 2012

    Posted 17 May 2013 Link to this post

    Dear All,

    We are using the Rad Combo Box in our application. on click, It shows the cursor in the combobox which looks as if it is editable combo to the end user. Kindly guide me to remove/avoid cursor from the Rad Combo box.

    With Regards
    L.Palanivelrajan

  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 19 May 2013 Link to this post

    Hi,

    The caret would not be shown only if the input is disabled. You could do that on the RadComboBox's input field, but then you would not get the drop down list opened when the input is clicked, it will only open when the arrow on the input's right side is clicked.
    Please try the following javascript.
    JS:
    <script type="text/javascript">
    function pageLoad()
     {
        var radcombo = $find("<%=RadComboBox1.ClientID %>");
        var input = radcombo.get_inputDomElement();
        input.disabled = "disabled";
     }
    </script>

    Hope this will help.
    Thanks,
    Princy.
  3. Palanivelrajan
    Palanivelrajan avatar
    27 posts
    Member since:
    Oct 2012

    Posted 24 May 2013 Link to this post

    Dear Princy

    Thanks for the timely reply. it works for me. only thing is control background color becomes grey when click on arrow and vanish after selection. Once again thanks for timely reply.

    With Regards
    L.Palanivelrajan
Back to Top