Hello,
I am new to bootstrap and ASP.net and I have searched far and wide but cannot find answer to my question,

1. I have a Delete button which open a modal dialog.
2. On the modal dialog are two buttons a. Cancel b. Delete


How do i run my code behind function when the user clicks the delete button?

I have seen multiple examples of how to delete DOM elements, redirect to a URL etc but none of these work the way i need.

All help hugely appreciated!

Thanks,
MC