Public Sub AlertAndReturnUrl(ByVal msg As String, ByVal url As String)
Page.ClientScript.RegisterStartupScript([GetType], "Script", "<script language='javascript'>alert('" & msg & "');window.location = '" & url & "';</script>")
End Sub
Page.ClientScript.RegisterStartupScript([GetType], "Script", "<script language='javascript'>alert('" & msg & "');window.location = '" & url & "';</script>")
End Sub
No comments:
Post a Comment