Click in Yes/No no outside the dialog box

  • Thread starter Thread starter Carlos A.
  • Start date Start date
C

Carlos A.

Hello
I have a "page" when people can select a record and click in Delete.
A little page is open to ask the user if he is sure (Yes or No).

How can I do this response Mandatory? I cannot that pople click outside of
these dialogbox.

Thanks for your help.
C.
 
The standard solution is to use javascript confirm() method. If you insist
on your own page, you should open it with a javascript call showModalDialog.
 
Thnks both for your answer
Eliyahu Goldin said:
The standard solution is to use javascript confirm() method. If you insist
on your own page, you should open it with a javascript call
showModalDialog.
--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]

Carlos A. said:
Hello
I have a "page" when people can select a record and click in Delete.
A little page is open to ask the user if he is sure (Yes or No).

How can I do this response Mandatory? I cannot that pople click outside
of these dialogbox.

Thanks for your help.
C.
 

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