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.');"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top