Dim url = "PR.aspx?PRID=" & PRID & "&PRNo=" & PRNo & "&PRIssues=" & PRIssues & "&ReqDueDate=" & ReqDueDate & "&Requestor=" & Requestor & "&Dept=" & Dept & _ "&Company=" & Company & "&ProjectName=" & ProjectName & "&ProjectCode=" & ProjectCode & "&Justification=" & Justification & " &ModelName=" & ModelName & "&Location=" & Location & "&ItemType=" & ItemType & "&ItemType2=" & ItemType2 & "&ReqItemType=" & ReqItemType & "&ReqItemType2=" & ReqItemType2 & "&ExtNo = " & ExtNo & "&userid=" & Session("userid") & "&branchid=" & Session("branchid") Response.Redirect(<script>window.open(url,'_blank');</script>")
The page cannot be found
The browser is the only thing that can open up a new window. Please try this and let me know.I will suggest another solution. response.write("<script>"); response.write("window.open('page.aspx','_blank')"); response.write("</script>");
Try this string url = "testpage.aspx?TestID=" + ID; string fullURL = "window.open('" + url + "', '_blank' );"; ScriptManager.RegisterStartupScript(this, typeof(string), "OPEN_WINDOW", fullURL, true);
Dim scripturl = "<script>window.open('" & url & "','_blank');</script>" Response.Write(scripturl)
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)