Question : Not showing Alert() before Response.redirect

Hi all,

I want to show a alert message before Response.redirect.

Response.Write("")

Response.redirect("NewPage.aspx")

In this case it is not showing the alert message but going directly to the new page.

If i use respone.flush it doesn't work with response.redirect.
If i use response.end all other responses are getting closed i.e not output.

Can anyone help regarding this.

yash

Answer : Not showing Alert() before Response.redirect

If you need to wait fifteen minutes for the information to become available I would suggest using AJAX and an alternate version of it's updatepanel...to show how long the user still has to wait. You won't be able to do this using a standard alertbox at least...

It would be nicest if you let the user know how much time there still is before he can continue, which is why I suggest you look into AJAX...

Regards,
Max.
Random Solutions  
 
programming4us programming4us