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

Refresh treeview in RadPane

2 Answers 53 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Peter
Top achievements
Rank 1
Peter asked on 01 Jun 2012, 06:15 AM
Hi,
I'm using a radtreeview to navigate records in my RadSplitter. In left RadPane I have a RadTreeView and in the right RadPane I load dynamically pages with. On update I call ajaxManager.ajaxRequest to update radTreeView. However how do I refresh it?

Thanks

2 Answers, 1 is accepted

Sort by
0
Bozhidar
Telerik team
answered on 05 Jun 2012, 08:18 AM
Hello Peter,

I'm afraid I don't fully understand your scenario. Could you provide some sample code, so that we can get a better understanding of the exact relations between the TreeView and the other controls. Also, could you elaborate on what exactly is the desired behavior.
 
Greetings,
Bozhidar
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Peter
Top achievements
Rank 1
answered on 05 Jun 2012, 09:08 PM
Hi Bozhidar,
thanks for the reply.
However I've changed the design so instead of loading a page into the right radpane, I put in an asp panel and added a user control to it. So now on updates I delegate an event back to the main page and refresh the tree from that without any ajax requests or javascript.

The original problem was when I reloaded the tree from server side, the client side didn't know about it till another postback.

Regards,
Peter
Tags
TreeView
Asked by
Peter
Top achievements
Rank 1
Answers by
Bozhidar
Telerik team
Peter
Top achievements
Rank 1
Share this question
or