I had a nightmare to make this happen.
Adding the ModalPopupExtender module to the form is easy, you run it and tell it the two necessary control parameters
PopupControlID="MyModalPanel" TargetControlID="ButtonToLoadIt"
And it just works fine, but it is triggered by the client on the target side of the target element.
If you want to do the server side code behind ??? how to do it?
source share