共3个页面,将HTMLPage.htm设为起始页。
1.aspx
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="1.aspx.cs" Inherits="_1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>无标题页</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<a target="target1" href="http://www.chinadci.com">chinadci</a>
<a target="target1" href="http://www.google.com">google</a>
</div>
</form>
</body>
</html>
2.aspx
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="2.aspx.cs" Inherits="_2" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>无标题页</title>
</head>
<body>
<form id="form1" runat="server">
<div>
</div>
</form>
</body>
</html>
这个其实就是个空页面哈哈
HTMLPage.htm
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN">
<html>
<head>
<TITLE>Infragistics ASP .NET Samples Browser</TITLE>
<!--<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">-->
</head>
<!--<frameset rows="85,84%" border="0" frameSpacing="0" frameBorder="0">
<frame name="banner" src="topbar.htm" scrolling="no" frameborder="0">-->
<frameset id="frameSet1" cols="30%,70%" border="1">
<frame id="httplinks" name="contents" src="1.aspx" frameborder="yes" scrolling="no">
<frame name="target1" src="2.aspx" frameborder="yes">
</frameset>
<!--<noframes>
<p id="p1">
This HTML frameset displays multiple Web pages. To view this frameset, use a
Web browser that supports HTML 4.0 and later.
</p>
</noframes>-->
<!--</frameset>-->
</html>