Dear there,
I have meet this problem many times. Even though I have resolved this problem but I still hope that you can give some suggestion for improve the way to resolve this problem.
I am work with Asp.net 4.0 , Visual studio 2010 , C#
I am not similiar with Asp.net 4.0 .
I use masterPage to build up my project.
Each Webpage use update panel
In my Webpage have a SaveButton . I want a comfirm message shows when user click this Button.
I add this code in SaveButton_click function
ScriptManager.RegisterStartupScript(this, this.GetType(), "alert", "ClickConfirm('" + this.Button1.ClientID + "');", true);
so that if user click yes, then we will going to next method (Button1_click)
this way only works when I remove updatepanel..
I have no idea why..
Would it possible let this code works with UpdatedPanel?
< ...
Go to the complete details ...