How to keep ModalPopupExtender after full PostBack?
When a ModalPopupExtender is already opened, it will be closed after a full PostBack. This’s because its client side state(opened or hidden) isn’t maintained automatically. As a result, it will always be hidden initially after a full PostBack. To solve this, we have following options: • Avoid using full PostBack by putting an UpdatePanel inside the ModalPopup. • Save and restore its state manually on client side. Below are two examples for each option: Option 1: <%@ Page Language="C#" %>