一个关于表单提交后刷新页面出现“重发”按扭的问题 我写了个页面,主页面是显示帖子内容,在内容下方有一个框架里面是回复帖子的页面,在回复帖子后我想同时刷新帖子内容,但如果刷新整页的话,框架里的页面会弹出“重发”按扭,请问该怎么解决这个功能?我是想把这个页面做成类似CSDN的帖子页,请大家指点 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 parent.document.location.reload();在.aspx页面加上上面那句话 我是提交回复后 就转到当前页面 load时候读出数据库中的内容绑定。没有出现楼主的问题 绑顶 回复帖子后:Response.Redirect(Request.RawUrl); 提交后:Response.Write("<script>top.location=top.location.href;</script>");orResponse.Write("<script>parent.location=parent.location.href;</script>");orResponse.Write("<script>parent.框架名.location='xxx.aspx';</script>"); Response.Write("<script>parent.框架名.location='xxx.aspx';</script>");如果是最外面的一页,框架名是什么? 这样试试Response.Write("<script>top.location='xxx.aspx';</script>"); 我用Response.Write("<script>parent.location=parent.location.href;</script>");可以刷新父页 只需在本页的前台<head><meta base=_self></head> 设同一命名空间,在类中指定page参数,事件进行提交postback 不出现 重发 重新定向一下就可以了类似http://huobazi.cnblogs.com/archive/2004/04/06/RefreshOrReloadParentWindowWithoutConfirm.html 还是不行这个页面是:http://www.52cwbb.com/include/userSuggest.xml ;麻烦大家帮忙看看 Response.Redirect("userSuggest.xml");哎,这个只是框架里面的页面重定向的 答应:Response.Write("<script>top.location=top.location.href;top.location.reload();</script>"); 字符串拼接转换成DateTime问题 如何点击当前a标签就给当前标签加粗,加亮 电子商务系统规划与设计 .net编译好后修改aspx页面的一个比较郁闷的问题 请问,JavaScript如何验证numeric(8,4)类型的字段? 如何引发父窗口的提交? 请教一下xml的问题,请高手指点一下 关于在Repeater里嵌套button控件 CVS如何配置? 请教:.aspx页面鼠标响应事件 如何设置treeview控件,让显示的时候是透明的? WinForm 程序和Web程序里,使用水晶报表是相同的方法吗?
在.aspx页面加上上面那句话
绑顶
Response.Redirect(Request.RawUrl);
Response.Write("<script>top.location=top.location.href;</script>");
or
Response.Write("<script>parent.location=parent.location.href;</script>");
or
Response.Write("<script>parent.框架名.location='xxx.aspx';</script>");
Response.Write("<script>top.location='xxx.aspx';</script>");
Response.Write("<script>parent.location=parent.location.href;</script>");
可以刷新父页
<head>
<meta base=_self>
</head>
重新定向一下就可以了类似
http://huobazi.cnblogs.com/archive/2004/04/06/RefreshOrReloadParentWindowWithoutConfirm.html
这个页面是:http://www.52cwbb.com/include/userSuggest.xml ;麻烦大家帮忙看看
哎,这个只是框架里面的页面重定向的