I have made a popup that works within an update panel but what I can't get to work is that it calls the response.redirect to the home page right away instead of giving me the popup box. Is there a way to get around this. I insert my sql to the db, then call the popup but and then want to redirect to home page. but it automatically goes to home page is there a way to stop it until message is seen then redirect.
ScriptManager.RegisterClientScriptBlock(Page, GetType(Page), "OpenWindow", "message();", True)