使用服务器标签查询字符串 [英] Use server tag for query string

查看:68
本文介绍了使用服务器标签查询字符串的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个项目,单击按钮将打开一个客户端弹出窗口。为了做到这一点,我使用下面的代码行:

 var rtnVal = window.open(" ../../ Pages / SubPages / AssignDelegate .aspx?admnid =" +<%GetId()%>," popWindow"); 

GetId()方法在我的代码后面并返回一个字符串。


我已经做了很多挖掘并尝试了很多不同的版本,但我仍然无法弄清楚如何让它来允许我的服务器标签添加字符串到查询字符串。



为了实现这个目的我需要做什么?


解决方案

http://forums.asp。 net /


上述论坛中有一个JavaScript论坛。


I am working on a project where clicking a button will open a client-side popup. In order to do this I am using the line of code below:

var rtnVal = window.open("../../Pages/SubPages/AssignDelegate.aspx?admnid=" + <% GetId() %> , "popWindow");

The GetId() method is in my code behind and returns a string.

I have done a lot of digging and tried many different versions of this, but I'm still unable to figure out how to get it to allow my server tag to add that string to the query string.

What do I need to do in order to accomplish this?

解决方案

http://forums.asp.net/

There is a JavaScript forum within the above forum.


这篇关于使用服务器标签查询字符串的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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