This is a migrated thread and some comments may be shown as answers.

Place drop down relative to cursor.

3 Answers 79 Views
AutoCompleteBox
This is a migrated thread and some comments may be shown as answers.
Shahi
Top achievements
Rank 1
Shahi asked on 28 Jun 2013, 08:37 AM
Hi

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

Regards
Shahi

3 Answers, 1 is accepted

Sort by
0
Accepted
Princy
Top achievements
Rank 2
answered on 28 Jun 2013, 09:37 AM
Hi Shahi,

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

Thanks,
Princy.
0
Shahi
Top achievements
Rank 1
answered on 01 Jul 2013, 02:37 AM
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.
0
Princy
Top achievements
Rank 2
answered on 01 Jul 2013, 04:20 AM
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.
Tags
AutoCompleteBox
Asked by
Shahi
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Shahi
Top achievements
Rank 1
Share this question
or