RadTreeview in a Update Panel

2 posts, 0 answers
  1. Srinivasa Rao Ranga
    Srinivasa Rao  Ranga avatar
    20 posts
    Member since:
    May 2010

    Posted 23 Jun 2010 Link to this post


    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...

    Srinivasa Rao R
  2. Nikolay Tsenkov
    Nikolay Tsenkov avatar
    734 posts

    Posted 25 Jun 2010 Link to this post

    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!

    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
  3. DevCraft R3 2016 release webinar banner
Back to Top