Return Codes From MessageBox in .ASPX ?

zgraf

Usenet Archive
Joined
Jun 24, 2003
Messages
1
Reaction score
0
Greetings.

I've created a simple ASPX form that displays a record from a SQL Server table. I have a "Delete" button on the form. When the user clicks it, I want to prompt the user with a message ("Are you sure you want to delete... ?").

I realize the Yes/No Messagebox can be done via Javascript -- but how do I retrieve the Messagebox return value in my .ASPX page, so I can act on it (i.e., to perform the delete)?

Got any sample code to demonstrate this?

Is there a better solution here?

ZGRAF
 

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
548,049
Messages
3,104,245
Members
248,133
Latest member
DujonT

Latest Threads

Top