How to get an external html page?

Dec 1, 2008 at 1:06 PM
Edited Dec 1, 2008 at 1:09 PM
I want to get a Html page from an external URI address. The sample project is working Ok with MVC Beta, but when i modify Index.aspx replacing src address as follows:
From:
            <div class="UFrame" id="Div1" src="AnotherPage/View">
To:
            <div class="UFrame" id="Div1" src="http://www.google.com">

Then i've received the following error:
[Exception... "Access to restricted URI denied"  code: "1012" nsresult: "0x805303f4 (NS_ERROR_DOM_BAD_URI)"  location: "http://localhost:8000/UFrameMVC/Content/Javascripts/jquery-1.2.3.js Line: 2666"]

This is an implementation functionality issue, or explorer security issue...?

Other way to do this would be, without doing any change to Index.aspx page but modifying the View in the AnotherPage Contoller, then the question is, can i load the external page in the View any manner? Maybe using HttpWebRequest and passing the content to Uframe's div section?

Any suggestionn to do it?
Thanks a lot!
Mikel Ihidoi "himikel"

Mar 2, 2011 at 8:11 PM

Same problem, please help.