I am having problems with alert box not popup when I'm using AJAX UpdatePanel. The following is what I have and it's not working.
1 ClientScriptManager csm = Page.ClientScript;
3 if(!csm.IsStartupScriptRegistered(this.GetType(), "winPop"))
5 csm.RegisterStartupScript(this.GetType(), "winPop", "alert('Update is successful');", true);
I have to stress that the reason why it does not work is because I'm using AJAX UpdatePanel. If I turned off the AJAX UpdatePanel then it works perfectly. So does anyone have solution to go around this AJAX UpdatePanel issue?