答案 0 :(得分:1)
试试这个
ScriptManager.RegisterStartupScript(Page, typeof(Page), "OpenWindow"
, "window.open('/GenerateEmailENG.aspx?c="
+ Request.Params["c"] + "&l=" + Request.Params["l"]
+ "&p=" + Request.Params["p"] + "&ct="
+ Request.Params["ct"], true);
答案 1 :(得分:0)
您可以使用urlbuilder
构建包含参数的网址PSEUDO CODE
var uriBuilder = new UriBuilder(Request.Url.AbsoluteUri);
var paramValues = HttpUtility.ParseQueryString(uriBuilder.Query);
paramValues.Add("param1", "value1");
paramValues.Add("param2", "value2");
uriBuilder.Query = paramValues.ToString();
然后只需将其传递给window.open