I have a simple content management system that stores pages by Pagename and Version. After clicking on Save, my code (server side) checks for the existence of Pagename/Version.
If it exists I would like to display a confirmation dialog box, which asks the user to confirm whether or not the current Pagename/Version should be replaced.
What is the easiest way to accomplish this? Thanks.
I appreciate both previous answers and they were helpful but not exactly what I was looking for. After considering the responses and doing more research I’m posting my solution so that maybe it will help someone else.
Button code:
Javascript:
C# using Subsonic 2.1: