PopupControlContainer control is a popup type of control and by default, the pop-up will be hidden when the user clicks anywhere outside the pop up besides the control.
If user would like to restrict this, deactivate behaviour and hide it only based on certain scenario. Consider it is needed to hide PopupControlContainer, when user clicks on close button placed in PopupControlContainer, not in other scenarios.
That can be achieved by handling its event named, BeforeCloseUp.
This event will be triggered, before popup hides.
Following code examples demonstrates the same.
Figure 1. Handle PopUp visibility when User clicked outside PopUpContainer with image.
This page will automatically be redirected to the sign-in page in 10 seconds.