Message Box for confirmation

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
 
M

Mark Rae [MVP]

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

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,053
Latest member
BrodieSola

Latest Threads

Top