The HTML to invoke this is:
<a href="../ViewName/DocID?DeleteDocument" onclick="return confirm('Are you sure you want to delete this document?');">Delete Document...</a>
The onClick event will return either of two values depending on whether the user clicks 'Ok' or 'Cancel':
true - the link should be opened;
false - do not be opened;
Hear that? Silence! Be the first to talk. Use the form below...
Navigate other articles in the category "Quick Tips"