Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Embed ".html" file into ".aspx" file

Thread Tools

Embed ".html" file into ".aspx" file

yukijocelyn yukijocelyn is offline
Junior Member
Join Date: Jul 2007
Posts: 2
I want to embed a .html file into my .aspx page. My page has a master page:
__________________________________________________ ____________
<%@ Master Language="VB" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">

<script runat="server">


<html xmlns="" >
<head runat="server">
<title>Untitled Page</title>
<form id="form1" runat="server">
&nbsp;<div style="text-align: left">
<table style="z-index: 113; left: 6px; width: 816px; position: absolute; top: 15px;
height: 583px">
<td style="height: 38px" width="20%">
<td style="width: 66px; height: 38px">
&nbsp;My Web Page</h1>
<td style="width: 2px">
<asp:Menu ID="Menu1" runat="server" DataSourceID="SiteMapDataSource1" Style="z-index: 100;
left: 15px; position: absolute; top: 136px">
<asp:SiteMapDataSource ID="SiteMapDataSource1" runat="server" />
<td width="80%" align=left valign=top>
<asp:contentplaceholder id="ContentPlaceHolder1" runat="server">

__________________________________________________ ____________

The page where I want to embed the html file has these codes:
__________________________________________________ ____________
<%@ Page Language="VB" MasterPageFile="~/MasterPage.master" Title="My Web Page - Dreams" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div class="Section1">

This is where I will embed the html file into.

__________________________________________________ ____________
what codes shd i use to embed in? Please advise! Thank you!

Last edited by yukijocelyn; 08-07-2007 at 05:26 AM..
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to embed JNLP file into HTML page ? L Ng Java 1 12-02-2012 10:08 PM
how to embed a pdf file into a JSF page Ankur Java 2 11-02-2006 06:41 PM
How to embed image or javascript file into custom server control dll Big Dave ASP .Net 0 03-10-2005 03:37 PM
Embed an html page into a placeholder? John ASP .Net 2 03-02-2004 12:10 PM
How to embed dynamic generated image into HTML? Olav Tollefsen ASP .Net 2 03-01-2004 03:14 PM