Hi,
I've got a button on a webform that redirects users to another page dependant on some variable values. However I don't want to redirect, I want to open the page in a new browser window. How is this possible?
Here's my code:
I've got a button on a webform that redirects users to another page dependant on some variable values. However I don't want to redirect, I want to open the page in a new browser window. How is this possible?
Here's my code:
Code:
Private Sub PrintBtn_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles PrintBtn.Click
Dim recordID As String = Me.CSDRecordIDLabel.Text
Dim CSDNo As String = Me.CSDNoLabel.Text
Response.Redirect("PrintCSD.aspx?CSDID=" + recordID + "&CSDNo=" + CSDNo)
End Sub