Link to home
Create AccountLog in
Avatar of skiltz
skiltzFlag for New Zealand

asked on

Loading an external URL into masterpage - ie like an IFrame

I am moving from DNN to MOSS -  Can you please tell me the easiest way to load another website or webpage into the masterpage eg I want to use the master for design and replace the middle content with another website? Does that make sense?

eg load www.something.com into contentplaceholder I guess.
Avatar of ZachSmith
ZachSmith
Flag of United States of America image

There isn't a built-in way to do this. You have several options:

1. Use an IFrame
2. Use a DIV
3. Use the WebRequest object in the materpage's code behind and go get the other site's content and dump it into the contentplaceholder

None of these are very clean things to do. Why is it you're trying to do this? Maybe we can come up with an alternative.
Avatar of skiltz

ASKER

Well we have a central intranet and then craps loads of other websites tacked on eg heaps of application forms for various things like leave application, scheduling rosters etc - they all have their own web.config's and directory structures.
ASKER CERTIFIED SOLUTION
Avatar of ZachSmith
ZachSmith
Flag of United States of America image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account