Response.Redirect只能在本页中打开,Response.Write调用javascript又该如何不让它只是弹出窗口,如何控制显示工具栏\地址栏\滚动条等
谢谢
谢谢
解决方案 »
- 如何用C#给Excel文档插入带有对号的符号
- vs2003如何序列化/反序列化时如何序列化arraylist属性?
- C#如何获取下拉框选择值所对应的主键ID?
- 判断时间段交叉问题,请大家给看看。
- ▲△▲△ 这是.NET Framework的bug吗?AttributeUsage的Inherited属性对Property无效!
- 读取 某个文件夹中的任意一个文件时,触发一个事件
- SqlConnection实现了连接池的功能吗?
- 关于listview的标题的问题。请高手指点
- 大家谁能给我讲讲C#中数据库组件的各种关系?
- 除了vs.net外。还有什么可以用来编辑C#的软件呢?
- 水晶报表的数据库登录问题!
- 谁能指点我完成剩下的代码我送谁一个永久使用的ftp空间(3G以内)
我就是发现当window.open()中用了参数,打开的页面都是一样的(打开一个简单的页面,没有工具栏,地址栏,菜单栏等),如果像alexzhang00() 的语句就打开一个一般的窗口,可是如何控制呢,我就想只显示滚动条
sName:相当于<A>里的target属性,指定目标。
sFeatures:以下的组合,打开窗口样式
channelmode = { yes | no | 1 | 0 }
directories = { yes | no | 1 | 0 }
fullscreen = { yes | no | 1 | 0 }
height = number >100
left = number
location = { yes | no | 1 | 0 }
menubar = { yes | no | 1 | 0 }
resizable = { yes | no | 1 | 0 }
scrollbars = { yes | no | 1 | 0 }
status = { yes | no | 1 | 0 }
titlebar = { yes | no | 1 | 0 }
toolbar = { yes | no | 1 | 0 }
width = number bReplace:是否更新覆盖历史记录(false的时候新页生成新的历史记录,true的时候是修改旧页记录)
Response.Write("<script>window.open('xxx.aspx','','toolbar=no','location=no',scrollbars=no');</script>");
要这样写
Response.Write("<script>window.open('xxx.aspx',null,'toolbar=no,location=no,scrollbars=yes');</script>");
还是多谢大家了
Response.Write("<script>window.open('xxx.aspx','','toolbar=no','location=no',scrollbars=no');</script>");
要这样写
Response.Write("<script>window.open('xxx.aspx',null,'toolbar=no,location=no,scrollbars=yes');</script>");
还是多谢大家了