i have the following script where i want to alert a message and redirect
ScriptManager.RegisterStartupScript(this, this.GetType(), "alert","alert('Save Complete'); window.location='AddMerchant.aspx';", false);
The problem is that when i click back on the IE browser button the alert message is displayed again.
how can i avoid the popup message to appear again?
A startup script is always going to run on startup.
Try RegisterClientScript, but you have to call the function in the script
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)