We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

autocomplete dropdown

hi,

upgraded
syncfusion 1.5.1.1. -> 7.3.0.20
VS2003 -> VS2008.

Now textbox component with AutoComplete always has a item selected from the dropdown. Previous there where no item selected in drop down.

How to get rid of the auto selected from dropdown ?

thanks
/johan



defect with dropdown always selected_60d63979.zip

1 Reply

LK Lakxman Kumar C Syncfusion Team April 28, 2010 09:50 AM UTC

Hi Johan,

Thank you for your interest in Syncfusion Products.

To improve the usability of the control, by default the first item is highlighted in the suggestion drop down of the Autocomplete Textbox. If you don't want to highlight the first item in the Suggestion drop down, then you can use the below code in the method invoked by AfterCallbackResponseProcessedScript of the autocomplete textbox.

[Javascript]

function deselect() {
$("#ACTable tr:first-child").css("background-color", "");
}


Please try the above and please let me know if any concerns.

Regards,
Lakxman Kumar C

Loader.
Live Chat Icon For mobile
Up arrow icon