How to issue a dynamic confirm dialog before saving?

M

marksommerville

Can anyone help?

I have a Delete button that processes a request to delete 1 or more
records.

I want to be able to issue a custom javascript confirm dialog message
before I go through my save routine. For example, "Are you sure you
want to delete these 5 items?". The "5" is variable. I have a gridview
with a column of checkboxes. If no checkboxes are selected the confirm
dialog should not be displayed.

I'm working VB.
 

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

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,014
Latest member
BiancaFix3

Latest Threads

Top