DataGrids often have a delete button that removes data from the database. There isn't, however, an immediately obvious way of making a delete confirmation popup. By adding a javascript attribute in the datagrid ItemCreated event, we can have the standard javascript confirmation box appear.
This html side of the page would have a template column defined something like this: