I have a confirmation dialog that's made using JavaScript library, I want to make it appear when the user tries to delete a row from gridview. The thing with this library is that it doesn't use confirm function in JavaScript instead it shows a custom popup, once the user clicks Yes it executes a call back function, once the user clicks No it executes another call back function.
When using this library with server side event, the server side event doesn't wait for the confirmation as it's not the javascript confirm function, so how do I make the server side code wait from a result of the call back in my JS alert if yes or no?
I am new to development in general so thanks for any ideas.