Below Code Open only one new Tab and if you click again it refresh that page:
Protected Sub Button6_Click(sender As Object, e As EventArgs) Handles Button6.Click
Page.ClientScript.RegisterStartupScript(Me.GetType, "OpenWindow", "window.open('UnitType.aspx','_newtab');", True)
End Sub
No comments:
Post a Comment