I have tried multiple things I have found on the web. What I am looking for is just to confirm the user is hitting cancel to NOT save changes. I need the code on the server side to get the result from the confirm.
I have a master page and 1 content page. I am new to using clientside so any help is greatly appreciated.
Here is what I tried but it only worked when I started the app. https://www.aspsnippets.com/Articles/ASPNet-Server-Side-Yes-No-Confirmation-Box-using-JavaScript.aspx