弹出窗口的编码 [英] Coding for popup window

查看:39
本文介绍了弹出窗口的编码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人可以在不使用ASP.Net中的脚本管理器的情况下帮助我找到弹出窗口的编码吗?目标页面位于一个名为Admin的文件夹内,我想在命令参数中将值作为QueryString传递.

Can anyone help me to find the coding for a pop up window without using script manager in ASP.Net? The target page is inside one folder called Admin, and I want to pass a value in the command argument as a QueryString.

推荐答案

亲爱的朋友,

我在这里发送示例代码CheckIt:


例如:ClientScript.RegisterStartupScript(this.GetType(),"myOpener","window.open(""+ HttpRuntime.AppDomainAppVirtualPath +"/sample/window1.aspx);",true);
Dear Friend,

Here iam sending sample Code ones CheckIt:


Ex: ClientScript.RegisterStartupScript(this.GetType(), "myOpener", "window.open(''" + HttpRuntime.AppDomainAppVirtualPath + "/sample/window1.aspx'');", true);


这篇关于弹出窗口的编码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆