Solved

How to show a Html page inside an aspx webpage?

Posted on 2008-06-09
1
766 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
Comment Utility
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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

743 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now