I have a scenario where the user clicks a button. The code behind checks a few things and if certain conditions exist, then I need to popup a box asking for a supervisor password. If the password is correct, the code should continue processing.
The button click event ideally would go like this:
If ..... then
show dialog form
if password = false then
Continue on with the code behind