点击“详细信息”打开新页面后gridview的字体自动变大
发布日期:2021-05-19 02:37:10 浏览次数:17 分类:博客文章

本文共 420 字,大约阅读时间需要 1 分钟。

本来打开新页面时使用response.write("<script>window.open('DetailItem.aspx?ID={0}','', 'height=460, width=360, top=0,left=0, toolbar=no, menubar=no, scrollbars=no,resizable=no,location=no, status=no');</script>");

后来改为:

            Page.RegisterStartupScript("js", "<script>window.open('DetailItem.aspx?ID={0}','', 'height=460, width=360, top=0,left=0, toolbar=no, menubar=no, scrollbars=no,resizable=no,location=no, status=no');</script>");

解决

上一篇:控制部分字体的颜色
下一篇:2008年7月20日星期日

发表评论

最新留言

网站不错 人气很旺了 加油
[***.192.178.218]2025年04月17日 14时36分26秒