attributes.add question

  • Thread starter Thread starter Jennyfer J Barco
  • Start date Start date
J

Jennyfer J Barco

Hello in a grid when the user selects the Delete column I need to ask "are
you sure" and then if the user anwers "yes" I need to make another question
regarding to some security procedure like "was this approved?" and be able
to keep this answer for our records. Is it possible to do this? right now I
only have the first question with the code:

myDeleteButton.Attributes.Add("onclick", "return confirm('Are you sure you
want to delete this record?');")



Thanks in advance
 
it means that there is no way to ask the user something and have the answer
selected with other way than "return confirm"?
 
There is another work around I use in my app, but I am not sure it is what
exactly you need.
Instead of a confirm pop up I open an aspx page and ask user whatever I want
and process them server side then at the end close open window and on opener
windows call submit, so opener window will be update with latest
information.

Masoud
 

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