how do i add alert box or messgabox in between the code in asp.net web application with c#. I am using updatepanel
try this
ScriptManager.RegisterStartupScript((sender as Control), this.GetType(), "alert", "alert('You clicked NO!')", true);
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.