RadPane content access to "main" page

2 posts, 0 answers
  1. Chris Williams
    Chris Williams avatar
    63 posts
    Member since:
    Oct 2004

    Posted 04 Jan 2008 Link to this post

    I'm working on a solution where I have a RadTree control that's used as menu/navigation, and when a user clicks on a node, it loads a page in my project into a RadPane.  I use the NavigateUrl and Target settings on my RadTree to direct the PadPane to load content.

    In some cases, actions on my content page within the RadPane should change the main page by adding or removing RadTree nodes.

    Is there any way to access the content on my main page, from content that's running within a RadPane window?  They are two separate aspx pages, of course.



    p.s. I've seen the javascript client-based method; anything server-side?
  2. Tsvetie
    Tsvetie avatar
    1517 posts

    Posted 07 Jan 2008 Link to this post

    Hello Chris Williams,
    When you open a page in the RadPane, an IFRAME element is added to the RadPane and the page is opened in that IFRAME. Therefore, the approach would be the same as in the case you have just a simple IFRAME, instead of a RadPane.

    As you probably understand, the way to achieve the desired result would not be very clean. You will have to use the clientside approach and in the function on the main page, you can postback the page (using __doPostBack for example) or you can use our RadAjax, to perform a callback (using the AjaxRequest method) and execute your serverside code.

    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top