有一个页面main.aspx,分左右两块,左面是导航条(菜单),右面是显示内容。现在有两个页面,a.aspx,b.aspx,里面都含有datagrid 等等复杂的表格,我现在要求是,点左面导航条A,页面右部就显示a.aspx的内容,点击导航条B,页面右部就显示b.aspx的内容,请问应该如何做?(页面不能刷新)
解决方案 »
- asp.net 中mvc3将数据如何 绑定到sqldatareader或dataset
- showModalDialog显示一个子窗体后如何在后台操作父窗体的控件对象?
- 这一句是什么意思
- ASP.NET2005操作WORD问题,急救啊!
- 求CS winform开发的典型程序
- iso-8859-1编码的XML文档解析时乱码该怎么解决
- 关于Calendar的日期选择问题,急,救命!!!!
- 引号的问题
- 通过更新dataview能更新table吗?
- 又一个很菜的问题,关于Datagrid的分页导航栏的问题
- 急---请教“韩文”或更多外文显示、存入数据库问题.........在线
- 求救啊。这个面试题很有挑战性的,进来看看吧。
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<html>
<head>
<title>MainForm</title>
<meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
<meta name="CODE_LANGUAGE" Content="C#">
<meta name="vs_defaultClientScript" content="JavaScript">
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
</head>
<frameset border="0" frameSpacing="0" rows="90,78%,32" frameBorder="0">
<frame name="topFrame" src="topFrame.htm" scrolling="no" noresize>
<frameset cols="145,10,*" id="mainindex">
<frame id="menuFrame" name="menuFrame" src="LeftMenu.htm" frameBorder="no" noResize scrolling="no">
<frame src="default.htm" frameBorder="no" noResize scrolling="no">
<frame id="mainFrame" name="mainFrame" src="webform1.aspx">
</frameset>
<frame name="bottomFrame" src="bottomFrame.htm" noResize scrolling="no">
<noframes>
<p id="p1">
此 HTML 框架集显示多个 Web 页。若要查看此框架集,请使用支持 HTML 4.0 及更高版本的 Web 浏览器。
</p>
</noframes>
</frameset>
</html>
****************************
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title></title>
<meta name="GENERATOR" content="Microsoft Visual Studio .NET 7.1">
<meta name="ProgId" content="VisualStudio.HTML">
<meta name="Originator" content="Microsoft Visual Studio .NET 7.1">
<script language="javascript">
function changeMain(link)
{
parent.mainFrame.location=link;
}
</script>
</head>
<body bgColor="floralwhite">
<a href="#" onclick="changeMain('webform1.aspx');">webform1</a><br>
<a href="#" onclick="changeMain('webform2.aspx');">webform2</a><br>
<a href="#" onclick="changeMain('webform2.aspx');">webform3</a><br>
<a href="#" onclick="changeMain('webform3.aspx');">webform4</a><br>
</body>
</html>
-------------------------------------
Ajax页面显示我知道,关键是你句:倒出你所需要的页面 ,怎么弄?