window.open()激活弹出的新窗体

[复制链接]
查看11 | 回复4 | 2012-1-9 13:15:15 | 显示全部楼层 |阅读模式
string strScript = " $(document).ready(function () {";strScript += "window.showModalDialog('AddorUpdate.aspx','_blank','dialogwidth=620px,dialogheight=500px,menubar=no,toolbar=no,location=no,directories=no,status=no,scrollbars=no,resizable=no');";strScript += "})";ClientScript.RegisterStartupScript(Page.GetType(), "", strS...
回复

使用道具 举报

千问 | 2012-1-9 13:15:15 | 显示全部楼层
1.Response.Write("");2.Response.Write("");...
回复

使用道具 举报

千问 | 2012-1-9 13:15:15 | 显示全部楼层
使用showModalDialog而不是open即可...
回复

使用道具 举报

千问 | 2012-1-9 13:15:15 | 显示全部楼层
路径对不对呢...
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行