Last post Aug 09, 2009 10:24 PM by farmas
Jul 24, 2009 01:03 PM|AikiBushi|LINK
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");
What do I need to do to get this working? This seems to be the final hurdle, albeit a large one...
Jul 27, 2009 09:20 AM|AikiBushi|LINK
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.
Aug 09, 2009 10:24 PM|farmas|LINK
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.