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

RadTreeview in a Update Panel

1 Answer 92 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Srinivasa Rao Ranga
Top achievements
Rank 1
Srinivasa Rao Ranga asked on 23 Jun 2010, 06:05 AM
Hi,

I am using radtreeview in asp:update panel,since my requirement is : i am having a masterpage,on left hand side i am having a treeview,on click of the treeview items i am navigating to respective page in the contentplaceholder on the right hand side of the masterpage,the problem is whenever i click on treeview item the entire page is getting postback,i don't want to pastback the entire page,i need only content placeholder to postback

Please help me to resolve this issue...

Thanks!
Srinivasa Rao R

1 Answer, 1 is accepted

Sort by
0
Nikolay Tsenkov
Telerik team
answered on 25 Jun 2010, 12:00 PM
Hello Srinivasa Rao Ranga,

The reason for this postback is because the navigation triggered on nodeClick event. The way a masterPage works is fairly different that one could expect (including me in this number):
- Instead updating only the content place holder, navigating to different content pages, makes a full navigate (merge between master and requested page) like opening a new page.

In order to achieve the smooth update that you want here you probably will not use a masterpage. You can use a regular page in which you can update some placeHolder (again through updatePanel or better through our RadAjaxManager, using server-side code to change the content in this placeHolder).

Also there is another solution that comes in mind - you can use an iFrame, but then the placeholder will be full page.

Hope this is helpful for you!


Regards,
Nikolay Tsenkov
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
TreeView
Asked by
Srinivasa Rao Ranga
Top achievements
Rank 1
Answers by
Nikolay Tsenkov
Telerik team
Share this question
or