Completed
Last Updated: 22 Jun 2022 10:20 by ADMIN
ADMIN
Peter Milchev
Created on: 28 Jun 2016 12:25
Category: AutoCompleteBox
Type: Bug Report
0
Different behavior of AutoCompleteBox dropdown scroll position in different browsers

		
1 comment
ADMIN
Peter Milchev
Posted on: 28 Jun 2016 14:59
To scroll to the top every time in all the browser apply the following solution:

OnClientDropDownOpened="onOpened"

The OnClientDropDownOpened event handler: 

function onOpened(sender, args) {
    var ddl = sender.get_dropDownElement();
    if (ddl) {
        var RadAutoCompleteBoxPopup = ddl.children[0];
        var racList = RadAutoCompleteBoxPopup.children[0];
        racList.scrollTop = 0;
    }
}