Message Box for confirmation

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a asp page. I have a form View. In EditTemplate I have a delete
button. When I click on that delete button In OnClientclick it should give
me message.

Are you sure you want to delete this user?

* This will change user status to delete.
*But the user will be in the same System.

OK Cancel

I don't know how to do that. Could you please provide me full code.

Thanks
 
I have a asp page. I have a form View. In EditTemplate I have a delete
button. When I click on that delete button In OnClientclick it should
give
me message.

Are you sure you want to delete this user?

* This will change user status to delete.
*But the user will be in the same System.

OK Cancel

I don't know how to do that. Could you please provide me full code.

OnClientClick="return confirm('Are you sure you want to delete this
user?\n\n* This will change user status to delete.\n*But the user will be in
the same System.');"
 
Back
Top