By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,594 Members | 3,459 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,594 IT Pros & Developers. It's quick & easy.

AJAX ModalPopup control

P: 39
Hi all,

i need to create modal popup, which will have OK and Cancel button and radio list. Now i need to run method on server which deletes data from database and way of deleting will depend on user's choice from radiobutton list and if he click OK or cancel.
Is it possible?

Kind Regards.
Feb 4 '08 #1
Share this Question
Share on Google+
3 Replies

Expert 100+
P: 1,208
yup possible and not too hard which part are you stuck on.
Feb 4 '08 #2

P: 39
yup possible and not too hard which part are you stuck on.
I'm stuck to call the server side code. I have modal pop up created, after clicking delete link button(in gridview) the popup shows and then i need to run server side code after clicking OK.
Feb 6 '08 #3

Expert 100+
P: 1,208
well you just do another ajax query with a query string

such as

server side code says if
delete then
strSQL = "Delete from table where item_id = " & item_id
Feb 6 '08 #4

Post your reply

Sign in to post your reply or Sign up for a free account.