Rad Tree view refresh from another page

2 posts, 0 answers
  1. Balageetha
    Balageetha avatar
    12 posts
    Member since:
    May 2014

    Posted 08 Dec 2014 Link to this post


              I am using a Rad tree view along with an iFrame.

              Whenever i click on the Rad tree view nodes,based on the node levels some other pages will be displayed in the iFrame.

               When i add some items into that Page(Page that shown in iFrame),I need to Refresh the Tree view so that it can display the

               Updated values.

              How can i do this?

    Waiting for your reply.
  2. Boyan Dimitrov
    Boyan Dimitrov avatar
    2020 posts

    Posted 11 Dec 2014 Link to this post


    You are absolutely able on the client-side from the iframe to access DOM elements or objects on the page. So from the iframe context you can access the RadTreeView client-side object on the page and add/remove/rename nodes. Below you can find a code snippet that shows how to access the RadTreeView within the page from the iframe. Once you are in the page context you can find the RadTreeView client-side object using the $find method.
    <script type="text/javascript">

    Boyan Dimitrov

    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.

Back to Top