use javascript, if you are using showModalDialog, try:showModalDialog("child.aspx",window); window.location.href = window.location.href;or if you want to avoid cache problems, tryshowModalDialog("child.aspx",window); window.location.href += (window.location.href.indexOf("?") > 0 ? "&" : "?") + "temp=" + Math.random();
我想你是弄错了吧?或者你得datagrid的绑定函数写的有问题。
window.location.href = window.location.href;or if you want to avoid cache problems, tryshowModalDialog("child.aspx",window);
window.location.href += (window.location.href.indexOf("?") > 0 ? "&" : "?") + "temp=" + Math.random();
Lostinet的Janc技术好像可以很轻松的实现在客户端动态条用服务器段函数。但我不知道其具体原理是什么。
js代码中模拟点击这个隐藏按钮,能说的具体点么?最好给点代码提示!谢谢了^_^
{
...........
Response.Write ("<script>opener.location.reload();</script>");
this.Response.Write("<script>");
this.Response.Write("window.close();");
this.Response.Write("</script>");
}
看看能否对你有所帮助。