I am using javascript to open a new window, and the url that I'm sending always comes thru to the new page w/the ampersands stripped out.
Here is the code that opens the new page.
I tried using Server.URLEncode(), and a number of escape sequences that I thought might work.. but all failed. Any help would be greatly appreciated.
Thanks,
Greg
Here is the code that opens the new page.
Code:
Dim s1 As String = "batch/batchPdf.aspx?type=candGar&GroupId=" & GroupId & "&ClientId=" & ClientId & "&CandId=" & CandId
Response.Write("<script>window.open('" & s1 & "','_new','scrollbars,location,toolbar,width=800,height=300');</script>")
I tried using Server.URLEncode(), and a number of escape sequences that I thought might work.. but all failed. Any help would be greatly appreciated.
Thanks,
Greg