0

I need to open a pop-up new tab in browser for displays another aspx page After trigger button click event(Html5).
I have found many ways to do this in JavaScript, but haven't been able to find a way to do it using VB.Net.

Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click
        //How to implement code
End Sub
Scath
  • 3,777
  • 10
  • 29
  • 40

1 Answers1

0

Use window.open with _blank as a parameter. For example:

Dim s As String = "window.open('" & url & "', '_blank');"

Hope this helps!

hmiedema9
  • 948
  • 4
  • 17