I open my ModalPopups in code, and I need to perform a little processing before displaying them. I now need to open up another ModalPopup from within an already open ModalPopup, via a button click. When the button is clicked, the page posts back and the following code is executed (simplified for clarity):
butShowDialog1_ModalPopupExtender.Show();
butShowDialog2_ModalPopupExtender.Show();
Both ModalPopups are displayed, and the second ModalPopup is displayed on top of the first. However, the first modal is not greyed out/disabled (the user can still interact with it), so the second ModalPopup is not truly modal.
Am I doing something wrong? Am I missing a step? How can I ensure that the first ModalPopup is greyed out/disabled until control has returned to it from the top-most ModalPopup?
Thanks