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

    Hi,

              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
    Admin
    Boyan Dimitrov avatar
    1746 posts

    Posted 11 Dec 2014 Link to this post

    Hello,

    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
    <script type="text/javascript">
       window.parent.$find("RadTreeView1");
    <script>


    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