AJAX ModalPopup control

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • misogsk
    New Member
    • Jan 2007
    • 39

    AJAX ModalPopup control

    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.
  • iam_clint
    Recognized Expert Top Contributor
    • Jul 2006
    • 1207

    #2
    yup possible and not too hard which part are you stuck on.

    Comment

    • misogsk
      New Member
      • Jan 2007
      • 39

      #3
      Originally posted by iam_clint
      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.

      Comment

      • iam_clint
        Recognized Expert Top Contributor
        • Jul 2006
        • 1207

        #4
        well you just do another ajax query with a query string


        such as
        delete=true&ite m_id=3

        server side code says if
        delete then
        strSQL = "Delete from table where item_id = " & item_id

        Comment

        Working...