Solved

How to show a Html page inside an aspx webpage?

Posted on 2008-06-09
1
770 Views
Last Modified: 2012-08-14
Hello,
I'm using ASP.NET 1.1
Is there any easy way to show a Html page inside a aspx page?
I mean, click a button, then show Html page inside the same aspx page that call it, ... I don't know what control I should use to put the html page... inside a Panel ?
URL: ..\Docs\MyHtmlPage.html

ASPX PAGE:
+--------------------------------------------------+
| <button>  | Html Page is showed here  |
+------------- | ----------------------------------+

Thanks !
0
Comment
Question by:miyahira
1 Comment
 
LVL 18

Accepted Solution

by:
Ajay Sharma earned 250 total points
ID: 21748851
use IFRAME.

By using IFRAMEs you can show any page (your domain's pages + any other domain's pages)
in a specified in your page. Like while using Google language translator it shows the translated page in bottom.

Code:

<body>
Your page text here. See the page
<br><br>
<iframe frameborder="0" height="700" width="500" src=" http://www.yourdomain.com/docs/MyHtmlPage.html" align="middle"></iframe>
</body>
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

One of the pain points with developing AJAX, JavaScript, JQuery, and other client-side behaviors is that JavaScript doesn’t allow for cross domain request for pulling content. For example, JavaScript code on www.johnchapman.name could not pull conte…
IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question