Hi robertrack,
In order to display a confirmation message when delete is clicked, I have made use of OnRowDataBound event handler where I have first determined the Delete Button and then I have attach the JavaScript Confirm to its client side Click event handler.
Refer the below link for more details.
You need to go through the events of gridview deeply to understand more clearly.