Wednesday, 12 June 2013

Ajax Toolkit's ModalPopupExtender hiding page content

On an ASP.NET page I was working on, I put a Ajax Toolkit ModalPopupExtender instance. As part of a Button Click event I called the Show() method, after which the content of the page disappeared and thereafter the dialog appeared in its place.

The one clue I had to go by was the FireBug error which occurred each time: