Solved

How to show a Html page inside an aspx webpage?

Posted on 2008-06-09
1
771 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
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.
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

736 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