Im calling the modal popup which is placed inside the user control and calling the sales force related logic inside the button click event of modal popup.
hiding the modal popup when the operation is completed or getting error. while getting the error the popup is in frozen state and not hiding even i close the popup and in the success case hiding the popup is working.
Issue 1: how to close the popup.
tried to closed the popup while exception occurs in the update panel end request handler and now it hides.
Issue2: when i click the button inside the modal popup second time it causes the Invalidpostback or call back argument error.
if there is no exception inside popup everything works fine.
Please let me know how to handle this issue.