ASP.NET c# Fix for the OK event of a custom ConfirmMessagebox inside a function library
We made a function that shows a modalpopupmessage dynamically from c# through javascript, it works fine but we wanted to add a parameter so we can pass a function delegate (or event handler) that would be called if the user presses the OK button. Any suggestions? Postdata: We don't want the typical "confirm you want to press this button" solution but a function to ask confirmation in any part of the process if necessary. Example: User click on delete item button, in codebehind you check the item has some dependency so show a confirmation message with the mensaje function passing the delegate