请问一下各位,我在网页上放置一个按钮,点击时弹出另一个页面,在我的机子上运行时可以弹出,当把网站打包安装到另一台电脑时,点击按钮,就弹不出网页,这是是么问题,谢谢!
我按钮中的代码是这样的
protected void Button2_Click(object sender, EventArgs e)
{
Response.Write("<script>window.open('newclass.aspx')</script>"); }
我按钮中的代码是这样的
protected void Button2_Click(object sender, EventArgs e)
{
Response.Write("<script>window.open('newclass.aspx')</script>"); }
解决方案 »
- 急求,希望大家帮助我、、、、
- 来者给分呀!大家一起来讨论:asp.net MVC3.0开发
- 有谁知道---中国移动通信的“企信通”短信的接口API函数--急急急!!!!!!!!
- asp.net 2.0 有什么好的html富编辑器?
- 3D引擎 数据处理 3D试衣功能
- ____________新手求教asp.net统一界面风格的问题!谢谢前辈指点!
- .net ajax两级级联无刷新的问题?有源码怎么改呀?
- 请问怎么在提交页面前,取出Context.Item["itemName"]的值?
- 帮帮我,为什么我的页面里所有web控件都不显示了啊?
- dropdownlist遇到一个很奇葩的错误
- 如何给SQL数据表添加一个临时字段,并给它赋值??
- 一个分页的难题,痛苦啊,请高手相助!!!!
{
Response.Write("<script>window.open('newclass.aspx');</script>"); }
{
Response.Write("<script language='javascript'>window.open('newclass.aspx');</script>"); }这样的话 试一下呢?