Your problem is that Response.Redirect redirects the response (...) before anything is sent back to the client. So the client receives a response from Google, and not from your server.
javascript Google, javascript .
Dim strscript As String = "<script>alert('hello');window.location.href='http://www.google.com'</script>"
If Not ClientScript.IsClientScriptBlockRegistered("clientscript") Then
ClientScript.RegisterStartupScript(Me.GetType(), "clientscript", strscript)
End If