0

I want to continue deletion upon modal button click. I thought if I run page load function, I can continue deletion.

What do you think about this .How can I do that? Also, I have and update panel, Can I use the update panel for this?

$(document).ready(function () {
    $("#dialog-modal").dialog({
          autoOpen: false,
          title: 'Basic Dialog',
          buttons: {
              Delete:  function () {
                  deleteRecord(); 
                  $(this).dialog('close');  
              },
              Close: function () {
                  $(this).dialog('close');
              }
          }
    });
});
Patel
  • 1,478
  • 1
  • 13
  • 24
Murat Altay
  • 75
  • 14

0 Answers0