Why does my ConfirmButtonExtender cause full postbacks after I've toggled its parent usercontrol's v

Posted by zk812 on Stack Overflow See other posts from Stack Overflow or by zk812
Published on 2010-03-24T20:39:47Z Indexed on 2010/03/24 20:43 UTC
Read the original article Hit count: 143

Hello all,

I have a series of usercontrols on a page that are displayed based on a selection. Each usercontrol contains a Delete button with a ConfirmButton/ModalPopupExtender combo attached to it. This works great when first loading any of the usercontrols--clicking delete shows my Confirm Modal popup and hitting yes or no causes an async postback to perform the operation.

But if I move away from the usercontrol and come back to it, the Confirm Modal Popup appears but clicking yes or no now causes a full postback (the operation does still take place).

Why does changing the visible property cause this?

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about confirmbutton