alert messages and deleting a datagrid row.

  • Thread starter Thread starter Lauchlan M
  • Start date Start date
L

Lauchlan M

Hi.

I have a delete column in an ASP.NET grid ie, users click on delete and it
deletes a row.

It currently has no confirmation dialog

ie it just goes ahead and deletes it.

I would like to add a confirmation dialog ("Are you sure you want to delete
this X? This operation is permanent and cannot be undone.")

I would like this alert to be done as a Javascript popup if their level of
browser is up to it, and to have the page posted back with this message if
their browser does not have javascript (eg PDA's).

Any suggestions for the best way to go?

Thanks!

Lauchlan M
 
Back
Top