Showing javascript alert box within update panel is some time very much problematic.
So here is the right way to show that.
Within a button click or any event coming from update panel write the following code to show the alert box
Try this and enjoy
So here is the right way to show that.
Within a button click or any event coming from update panel write the following code to show the alert box
ScriptManager.RegisterClientScriptBlock(this.Page, this.Page.GetType(), "alert", "alert('<Your message>');", true);
Try this and enjoy
0 comments:
Post a Comment