Click here to Skip to main content
15,893,722 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am wondering, is there any alternative method to show web pages in placeholder but the web pages is an ordinary web page, not a user control.
Posted

I am not sure what actually you are looking for, but to show multiple pages in a single page you can use iframe or simpally frames.
 
Share this answer
 
If you don't want to use iframe in that case you can use the load method of jQuery, which can inject the html of any page in you current page. On click of any menu use the load method of jQuery get the html of the destination page and inject the html in some div of the main page. But in this case your event handling in the child page will be not easy to implement. If you content is display only then you can use this approach.
 
Share this answer
 
Thanks Prakash,

The project is a standard Web project where the main page has header and menus. Depending on which menu the user clicked, the placeholder
will display various input form that are not user control. I wonder if it is possible to do that without using iframe.
 
Share this answer
 
did you find some solution??? i need to do the same... can you tell me what did you do?? thx!!!
 
Share this answer
 
At last, I feel that using FRAME and FRAMESET is the best because it enable me to easily modify the code and test it independently.
Thanks to eveyone that have provide help.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900