I am using the ASPNET_MsgBox confirm feature in my code behind:
Message = "Dcoument already exists. Do you want to replace?"
Page.ClientScript.RegisterStartupScript(Page.GetType(), Guid.NewGuid().ToString(), "confirm(""" & Message & """)", True)
The pop up shows the OK or Cancel options. Using this technique how can I capture the response (from client to server)? I've been reading so many articles and getting more confused, have not found one post that fits my need. Thank you.