Add order to load url into the panes

2 posts, 0 answers
  1. aolympio
    aolympio avatar
    10 posts
    Member since:
    Apr 2008

    Posted 28 Jun 2008 Link to this post

    Hi guys!

    I have 3 pages( Index.aspx, A.aspx and B.aspx) and  one RadSplitter (into the Index.aspx) with two RadPanes inside.

    The RadPane1(Left Pane) has a property ContentURL refering to A.aspx and the RadPane2(Right Pane) has a property ContentURL refering to B.aspx.

    Passing by Page_Load() from Index.aspx, the execution follows to Page_Load() from B.aspx and then goes to Page_Load() from A.aspx.

    How can I load first the A.aspx and then the B.aspx?

    Thanks for help,
    Anderson Olympio

  2. Svetlina Anati
    Svetlina Anati avatar
    2795 posts

    Posted 01 Jul 2008 Link to this post

    Hi aolympio,

    When you use the RadPane's ContentUrl property you actually create an IFRAME element and place it in the RadPane. The described order of loading is the expected one, when using IFRAMEs and you can test this by replacing the RadSplitter's structure with two IFRAMEs.

    What I can suggest is to hook up the RadSplitter's OnClientLoaded handler and implement a proper client-side handler. In this handler you should reference the RadPanes by using the $find method and then set their ContentUrl in the desired order by using the RadPane's set_contentUrl method.

    Best wishes,
    the Telerik team

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