Working on a legal project, I'm using ModalPopupExtender
of AjaxToolKit
.
I have already identified if I can use the OkControlID
and CancelControlID
attributes to define which control, a Button
for example, closes the modal.
<cc1:ModalPopupExtender ID="ModalPopupExtender1"
runat="server"
OkControlID="btnOkay"
CancelControlID="btnCancel">
</cc1:ModalPopupExtender>
What I would like to know is if there is a possibility of closing Modal by clicking outside the area of the Modal window that was opened.
Is there any attribute or other code to do this?