This is a migrated thread and some comments may be shown as answers.

Rad Tree view refresh from another page

1 Answer 91 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Balageetha
Top achievements
Rank 1
Balageetha asked on 08 Dec 2014, 12:21 PM
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.

1 Answer, 1 is accepted

Sort by
0
Boyan Dimitrov
Telerik team
answered on 11 Dec 2014, 11:29 AM
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.

 
Tags
TreeView
Asked by
Balageetha
Top achievements
Rank 1
Answers by
Boyan Dimitrov
Telerik team
Share this question
or