Velocity Reviews - Computer Hardware Reviews

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

Reply
Thread Tools

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

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

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<script runat="server">

</script>

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

__________________________________________________ ____________

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.

</div>
</asp:Content>
__________________________________________________ ____________
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
 
 
 
Reply

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



Advertisments