
Hi,
Just put the following line of code:
Page.ClientScript.RegisterStartupScript(this.GetType(), "alert", "alert('Content Updated successfully!!!');");", true);
When you want to call ajavascript function along with ur alert, then use the following code:
Page.ClientScript.RegisterStartupScript(this.GetType(), "alert", "alert('Content Updated successfully!!!'); PersistStateDdls(" + stateId + ");", true);
Mark as answer if satisfied.....
Regards,
Shree M.
Kavya Shree Mandapalli
Varun66, if this helps please login to Mark As Answer. | Alert Moderator