分为上下页面,我在成功登入后,根据不同的值,来定位下半部分的页面的URL,如何做到呢?在服务器端代码中不能写入代码来取吧?用parent.src='index.aspx'得不到。
解决方案 »
- 一个面试的题目
- visual studio 2005 sp1 在发布网站的时候 报 "索引超出了数组界限" 在visual studio 2005 中没有问题 为什么啊?
- help!!! 水晶报表制作问题,请高手帮忙
- 求高手详细解释^(?=.*\d).{4,8}$的意义
- 100分请教高手关于项目编译的问题?
- 在ASP.NET中如何实现一个带日历选择功能的DropDownList控件
- Object reference not set to an instance of an object.
- 关于App_code文件夹里的文件的程序集名称是什么?
- gridview 编辑事件 断点进不去 谁知道啊???
- 请哪位高手帮忙一下。是在不知道如何处理,为此已经重装过一次了!高分送
- aspx页面单击服务器按钮处理完后,怎么关闭当前页?
- 无法打开asp.net程序
例子
Response.ContentType = "text/HTML";
Response.Write(" <frameset rows=\"36,82%\" border=\"0\" frameSpacing=\"0\" frameBorder=\"0\">");
Response.Write("<frame name=\"top\" src=\"top.aspx\" noResize scrolling=\"no\">");
Response.Write("<frame name=\"bottom\" src=\"bottom.aspx\">");
Response.Write("</frameset>");根据条件做就行了,
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
</head><frameset rows="80,*" frameborder="no" border="0" framespacing="0">
<frame src="head.aspx" name="topFrame" scrolling="No" noresize="noresize" id="topFrame" title="topFrame" />
<frame src="<% = Request.QueryString("url")%>" name="mainFrame" id="mainFrame" title="mainFrame" />
</frameset>
<noframes><body>
</body>
</noframes></html>
----------------------------------------------------------------
www.cndigs.com掘客园--发掘、推荐软件开发资源,分享、交流技术开发心得
asp.net2.0资料
http://www.cndigs.com/search.php?search=asp.net%202.0&tag=true
asp.net资料
http://www.cndigs.com/search.php?search=asp.net&tag=true
ajax资料
http://www.cndigs.com/search.php?search=ajax&tag=true