I've got this as my code for the ComboBox opened client-side event...
The code works but the scrollIntoView call doesn't have any impact.
FWIW, I've tried wrapping the scrollIntoView call in a timeout call but to no avail.
Am I doing it wrong or are my expectations too high?
function DropdownOpened(sender, e) { var treeView = sender.get_items().getItem(0).findControl("RadTreeView1"); treeView.get_element().focus(); var node = treeView.get_selectedNode(); if (node) { while (node.get_parent() && node.get_parent() instanceof Telerik.Web.UI.RadTreeNode) { node.set_expanded(true); node = node.get_parent(); } treeView.get_selectedNode().scrollIntoView(); } }The code works but the scrollIntoView call doesn't have any impact.
FWIW, I've tried wrapping the scrollIntoView call in a timeout call but to no avail.
Am I doing it wrong or are my expectations too high?