ConfirmButtonExtender using ModalPopupExtender fails in UpdatePanel after partial postback?
Posted
by Martin Emanuelsson
on Stack Overflow
See other posts from Stack Overflow
or by Martin Emanuelsson
Published on 2010-03-29T13:20:37Z
Indexed on
2010/03/29
13:23 UTC
Read the original article
Hit count: 1081
Hello,
We're trying to add a more fancy looking confirm messages than the regular JavaScript-confirm message to our delete-buttons in a list of comments on our site. To accomplish this we're trying to use the ConfirmButtonExtender together with a ModalPopupExtender. The comments are displayed using a ListView inside a UpdatePanel so that the paging of the ListView doesn't reload the entire page.
Using the ConfirmButtonExtender works fine the first time the list is loaded but if we for instance go to the second page of comments using the pager, the ConfirmButtonExtender doesn't work anymore. The extender shows up when clicking Delete but when I click OK the page makes a full reload without triggering the delete event.
Has anyone experienced the same problem and found a solution to it? Or can you recommend another way to accomplish the same thing?
Best regards
Martin Emanuelsson
Göteborg, Sweden
© Stack Overflow or respective owner