I occasionally output debug messages into this blog manifest as articulate sentences with source code and analysis
Wednesday, 27 August 2008
Unable to dismiss ModalPopupExtender dialog with CancelControlId or behaviour's hide method
This is because the TargetControlId must not be the panel. I found that if I created a HiddenField control, just inside the popup panel, this makes the Cancel and OK buttons work as expected.