New to Telerik UI for ASP.NET AJAX? Download free 30-day trial

Scroll to Selected Node After MS.NET AJAX Request

To scroll to the selected TreeNode after an AJAX request has occurred you should use the OnEndRequest client-side event of MS.NET AJAX and select the node in the OnEndRequest event handler, like:

var prm = Sys.WebForms.PageRequestManager.getInstance();

function OnEndRequest(sender, args) {
    var tree = $find("<%= RadTreeView1.ClientID %>");
    var selectedNode = tree.get_selectedNode();

    if (selectedNode != null) {
In this article