社区
ASP
帖子详情
response.redirect的问题
SEYON
2006-05-23 12:47:21
response.redirect("registerok.html")能不能像超级链接<a href="left.asp" target="contents">一样指定显示页面的框架?比如left,top,bottom
...全文
123
2
打赏
收藏
response.redirect的问题
response.redirect("registerok.html")能不能像超级链接一样指定显示页面的框架?比如left,top,bottom
复制链接
扫一扫
分享
举报
写回复
配置赞助广告
用AI写文章
2 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
SEYON
2006-05-23
打赏
举报
回复
我的框架是
----------------
<FRAMESET frameborder="1"
rows=110,*,0,0,0 cols="*" border="0" framespacing="0">
<FRAME name=banner src="top.asp" scrolling=no target="contents">
<FRAMESET cols=182,* rows="*" border="0" framespacing="0">
<FRAME name=contents src="left.asp" scrolling=no target="main">
<FRAME name=main src="todaynewinfo.asp" scrolling=yes>
</FRAMESET>
----------------
情况是点击left页的链接,然后进入一个check页进行验证,满足条件则
response.write("<script>window.open('registerok.html','main')</script>")
现在registerok.html是在main里显示了,但left即contents又不显示了,一片空白
大哥救救我啊,弄很久了 ~~谢谢
sanshisong
2006-05-23
打赏
举报
回复
很遗憾地告诉你:不行!
--
可以用response.write("<script>window.open('url','FRAME')</script>")
或者
response.write("<script>window.left.location.href='url'</script>")
来实现
Response.Redirect
编码的
问题
UTF-8传递到 gb2312 HttpUtility.UrlEncode("要传递的字符参数",Encoding.GetEncoding("GB2312")) 转载于:https://www.cnblogs.com/JensonBin/archive/2010/11/27/1889726.html
try catch中用了
Response.Redirect
引发的线程异常终止
try catch中用了
Response.Redirect
引发的线程异常终止
Response.Write("<script>alert('弹出对话框!')Response.Redirect("page.aspx");不能弹出对话框,直接跳转页面了 ...
Response.Write和
Response.Redirect
一起用的时候就会这样,write脚本和redirect脚本不能同时使用,这样不会执行脚本,最好使用ClientScript 改进方法: 方法一: Page.ClientScript.RegisterClientScriptBlock(this.GetType(), "", "<script language=...
Response.Write具体介绍
问题
一: Response.Write 后连接
Response.Redirect
,则Response.Write无法显示,直接跳转入
Response.Redirect
的页面。 解决方案: Response.Write("<script languge='javascript'>alert('成功改动'); window.location.hre...
Response.Write用法总结
Response.Write用法总结
问题
一: Response.Write 后连接
Response.Redirect
,则Response.Write无法显示,直接跳转入
Response.Redirect
的页面。 解决方案: Response.Write("<script languge='javascript'>alert('成功改动'); wi...
ASP
28,402
社区成员
356,940
社区内容
发帖
与我相关
我的任务
ASP
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
复制链接
扫一扫
分享
社区描述
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章