• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 775
  • Last Modified:

How to show a Html page inside an aspx webpage?

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
miyahira
Asked:
miyahira
1 Solution
 
Ajay SharmaCommented:
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 does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now