StewSupport
asked on
display alert box then redirect
i have a
ClientScript.RegisterStart upScript(M e.GetType( ), "AlertBox", "alert('Your request is completed.');", True)
resposne.redirect("")
i want the user to click ok in this box then redirect. but my page right now doesn't even stop for this to happen and just go straight to the redirect page. so how do i stop the page so that it allows users to click ok before it goes to redirect.
ClientScript.RegisterStart
resposne.redirect("")
i want the user to click ok in this box then redirect. but my page right now doesn't even stop for this to happen and just go straight to the redirect page. so how do i stop the page so that it allows users to click ok before it goes to redirect.
ASKER
yeah but this is a web page. you can't use msgbox
why not?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
the msgbox will work when you debugging it in vs studio but won't work when you host the site on your server.
ASKER
i didnt have document.location in my code. thanks.
Open in new window