Hooking a RadPane?

Last post 08-09-2009 10:24 PM by farmas. 2 replies.

Sort Posts:

  • Hooking a RadPane?

    07-24-2009, 1:03 PM
    • Member
      6 point Member
    • AikiBushi
    • Member since 07-15-2009, 7:17 PM
    • Posts 9

     I am trying to hook a RadPane object.

    This is rendered as a Frame but with no Frameset. I have tried to hook it unsuccessfully like this:  

    HtmlPage ws = launchPage.GetPopupPage(1);
    HtmlPage nav = ws.GetFramePage("NavPane");
    But this does not return the NavPane frameset.
    What do I need to do to get this working? This seems to be the final hurdle, albeit a large one...


     

  • Re: Hooking a RadPane?

    07-27-2009, 9:20 AM
    • Member
      6 point Member
    • AikiBushi
    • Member since 07-15-2009, 7:17 PM
    • Posts 9

     I have looked into this and have more details.

     It seems the RadPanel loads a page into an IFrame. I can get the Iframe as an htmlelement (so it is clear that the element is found) but when I try to get the iframe using the .GetFramePage, I just get a 'not found' error. (The IFrame is loading an asp.net page and not a standard html page - not sure if this is relevant) I have also noticed when debugging the Iframe element has no children. Not sure if it should or not. 

    This is the main page of the application. If this is not going to work we need to change tools which is something I am trying desparately to avoid. Any feedback would be most helpful.

    Thanks in advance.  

  • Re: Hooking a RadPane?

    08-09-2009, 10:24 PM
    Answer
    • Participant
      1,108 point Participant
    • farmas
    • Member since 08-05-2002, 8:19 AM
    • Redmond, WA
    • Posts 246
    • AspNetTeam

    Sorry for the late reply. I suddenly got very busy with the release of MVC 2 Preview 1. Ok, if I understand this correctly, the RadPanel renders as an iFrame on the page with its "src" attribute set to some other page. I can't figure out why this won't work... one thing to try is to check the iFrame test that is included as part of the source download of LTAF.

    Open the solution, and in the SampleWebSite there will be a sample test that uses an iFrame called "PageWithIFrame". If this works for you then we can figure out what's different with the rendering with the RadPanel, if this doesn't work then it may be a problem with LTAF.

    Let me know.

    - Federico

Page 1 of 1 (3 items)