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');
}
}
});
});