M
Mathew George
Hi,
A page consists of a link button. Clicking this link button should first
save data in the database.
If the data is saved correctly then it should open a new window.
I have coded for the link button as
Private Sub Button1_Click
(ByVal sender As System.Object, ByVal e As System.EventArgs)
Handles Button1.Click
' perform database save here
Response.Write("<script>window.open();</script>")
End Sub
Can anyone suggest which is the best method in terms of reliability and
performance.
Regards,
Mathew
A page consists of a link button. Clicking this link button should first
save data in the database.
If the data is saved correctly then it should open a new window.
I have coded for the link button as
Private Sub Button1_Click
(ByVal sender As System.Object, ByVal e As System.EventArgs)
Handles Button1.Click
' perform database save here
Response.Write("<script>window.open();</script>")
End Sub
Can anyone suggest which is the best method in terms of reliability and
performance.
Regards,
Mathew