DynDeveloper.com

DynDeveloper.com

Sign Up Now! Log In
Isaac 8/9/2011 7:13:53 AM

DataGrid Confirmation Popups

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:

 

Version: Unknown or N/A
Section: .NET Development