Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET > Treeview > RadTreeView ScrollIntoView to Selected Node Not Working.
RadControls for ASP.NET are no longer supported (see this page for reference). In case you have inquiries about the Telerik ASP.NET AJAX controls, post them in the pertinent ASP.NET AJAX forums.

Answered RadTreeView ScrollIntoView to Selected Node Not Working.

Feed from this thread
  • Rajeev avatar

    Posted on Jun 6, 2008 (permalink)

    Hai,

             I tried the sample in the telerik website the usage of ScrollIntoView javascript method. It's not working for me.

    I can explain you what i did.

    I had one webuser control which i have the rad treeview. This webusercontrol i am adding in RadPane in another aspx page and loading the data by calling the the method of usercontrol in the aspx page load event. I am useing the scrollintoview javascript method and call it on the body onload event with the timer as seen in the example. No idea what's going on with that control. it's not scrollingintoselected node view. I got confused at this stage regarding the scrollintoview method. Is this method really show the selected node by scrolling the radpane to bottom.

    Hope some solutions are there for this.

    Thanks in advance
    Rajeev

  • Rajeev avatar

    Posted on Jun 9, 2008 (permalink)

    I was wondering how these codes are working for you people. No luck for me

    http://www.telerik.com/help/aspnet/treeview/tree_scroll_after_ajax.html

    http://www.telerik.com/help/aspnet/treeview/tree_scroll_after_atlas.html

    http://www.telerik.com/help/aspnet-ajax/tree_nodescrolling.html

    None of these links were usefull. all are just some non working codes written in it.


  • Answer Veselin Vasilev Veselin Vasilev admin's avatar

    Posted on Jun 9, 2008 (permalink)

    Hi Rajeev,

    ScrollIntoView method that you are referencing is relevant to RadTreeView - it will scroll to the selected treeview node, but it will not scroll the RadPane.
    For RadPanelBar I suggest that you check this forum post:
    http://www.telerik.com/community/forums/thread/b311D-bdghbb.aspx

    I hope this helps.

    Kind regards,
    Veskoni
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center

  • Steve Dilbert avatar

    Posted on Sep 2, 2010 (permalink)

    I am absolute agreed with Rajeev that RadTreeView ScrollIntoView does not seem working as most people thought...
    You can never scroll a selected node from Server Side code.  Even with client side code, it is pretty tricky to preserve the object reference of the RadTreeView and hence execute the select(), scrollIntoView method.
    Wonder Telerik should implement the corresponding method on server side!

  • Yana Yana admin's avatar

    Posted on Sep 6, 2010 (permalink)

    Hello Steve,

    Thank you for your suggestion, it will be logged and considered.

    Best regards,
    Yana
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

  • Andrew avatar

    Posted on Mar 23, 2011 (permalink)

    How would one scroll the RadPane to the selected node of the nest radtreeview?

  • Helen Helen admin's avatar

    Posted on Mar 25, 2011 (permalink)

    Hello Andrew,

    Please find attached an example.

    Load the page and expand the node "RootRadTreeNode5" - it will automatically scroll to the selected node: "ChildRadTreeNode40".

    Hope it helps.

    Regards,
    Helen
    the Telerik team
    Attached files

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET > Treeview > RadTreeView ScrollIntoView to Selected Node Not Working.