Place drop down relative to cursor.

4 posts, 1 answers
  1. Shahi
    Shahi avatar
    17 posts
    Member since:
    Apr 2013

    Posted 28 Jun 2013 Link to this post

    Hi

    How can I shift the drop down according to the cursor position in the autocomplete box input?

    Regards
    Shahi
  2. Answer
    Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 28 Jun 2013 Link to this post

    Hi Shahi,

    Try setting the DropDownPosition property of the RadAutoCompleteBox to Automatic to position the drop-down corresponding to the cursor.

    Thanks,
    Princy.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Shahi
    Shahi avatar
    17 posts
    Member since:
    Apr 2013

    Posted 30 Jun 2013 Link to this post

    Thanks. It worked. Using css I am trying to add my own delete button for the token but now nothing is displayed. Please help asap.
  5. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 30 Jun 2013 Link to this post

    Hi Shahi,

    Try overriding the default CSS as follows.

    CSS:
    <style type="text/css">
        .RadAutoCompleteBox_Default .racRemoveTokenLink
        {
            background-image: url("../Images/Close.png") !important;
            background-position: 1px 2px !important;
        }
    </style>

    When you are setting an image as the background-image property, it is preferable to choose a tiny image.

    Thanks,
    Princy.
Back to Top