How to refresh treeview, persist node selection

2 posts, 1 answers
  1. Pravin
    Pravin avatar
    1 posts
    Member since:
    Jan 2015

    Posted 17 Feb 2015 Link to this post

    Dear All
        I have used Rad Treeview in ASP.NET, I want to refresh my treeview and it can persist old node selection.
    How to do it ?
    Help will really appreciating.

    Thanks
    koolprasad
  2. Answer
    Boyan Dimitrov
    Admin
    Boyan Dimitrov avatar
    1746 posts

    Posted 20 Feb 2015 Link to this post

    Hello Koolprasad,

    By default the RadTeeView persists its selection across post-backs and it's not necessary to store its state explicitly . Could you please elaborate a bit more on the exact scenario that you are trying to implement and why the old node selection is not persisted?

    If for some reason the selection is lost you can store the lastly selected node in hidden field for example, retrieve that node by using the RadTreeView client-side object method findNodeByText(string text) and select it explicitly. Please find in RadTreeView object client-side API article.



    Regards,
    Boyan Dimitrov
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top