Greetings,
As always, my apologies if this question has been answered in the past (searches against various forums and development sites yielded no answers.)
My setup is such - I have a ModalPopupExtender that has a PopupControlID which points to a Panel with content. The TargetControlID is a Button. All of this exists within an UpdatePanel (for transparent event-catching and handling).
The problem with my setup lies herein - I have conditional instructions I need processed before the ModalPopupExtender displays the content in the content Panel. To that end, the Button which triggers the display of the ModalPopup, has a server-side "click" event bound to it. However, the Button's "click" event is never processed on the server-side (insofar as breakpoints are indicative of processing.)
I believe that the ModalPopupExtender is the culprit - removing the Button as the TargetControlID allows the Button's "click" event to be processed normally on the server-side.
Is there any way that the ModalPopupExtender can pass to the server the original event for the TargetControlID ("click" event for the Button, in this case)?
My apologies if there's some glaring, obvious solution I'm missing, but I'm at my wit's end with this particular setup. I've tried indirect event postbacks, JavaScript "fake button" hacks, and other solutions with no results.