April 23, 2011

Javascript inside Updatepanel in ASP.Net

JavaScript is not working inside update panel on server side code.
We need to use another technique for this.

System.Web.UI.ScriptManager.RegisterClientScriptBlock(this, this.GetType(), "Save", "alert('Record has been successfully saved.')", true);

No comments:

Post a Comment