B
buran
Dear ASP.NET Programmers,
I am using the following code block to navigate to the invoice page of my
app. when users click on the button btnInvoice. However, I want to display
the invoice page in a new browser window. What javascipt code should I use
instead of Response.Redirect()? Thanks in advance,
Burak
Private Sub btnInvoice_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles btnInvoice.Click
If txtIRD.Text <> "" And txtInvoiceDate.Text <> "" Then
Response.Redirect("newinvoice_hospital.aspx?mfuid=" +
Request("mfuid") + "&spid=" + Request("spid"))
End If
If txtIRD.Text = "" Then
Say("Please enter the invoice receipt date")
End If
If txtInvoiceDate.Text = "" Then
Say("Please enter the invoice date")
End If
End Sub
I am using the following code block to navigate to the invoice page of my
app. when users click on the button btnInvoice. However, I want to display
the invoice page in a new browser window. What javascipt code should I use
instead of Response.Redirect()? Thanks in advance,
Burak
Private Sub btnInvoice_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles btnInvoice.Click
If txtIRD.Text <> "" And txtInvoiceDate.Text <> "" Then
Response.Redirect("newinvoice_hospital.aspx?mfuid=" +
Request("mfuid") + "&spid=" + Request("spid"))
End If
If txtIRD.Text = "" Then
Say("Please enter the invoice receipt date")
End If
If txtInvoiceDate.Text = "" Then
Say("Please enter the invoice date")
End If
End Sub