how do i add alert box or messgabox in between the code in asp.net web application with c#. I am using updatepanel
Seems you are calling this in updatepanel? Please do specify all details when asking question
change the last line to below to make it work inside updatepanel
ScriptManager1.GetRegisteredStartupScripts(this.GetType(), "alert", sb.ToString());
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.