DisturbedBuddha:simply delete the TargetControlID from the ModalPopupExtender
The TargetControlID of ModalPopupExtender cannot be null or empty. Instead, you can set the display style to none, and call the Show() method in the desired event.
Edited
You can also check my article about this at http://www.aspalliance.com/1509
Thanks
-Mark post(s) as "Answer" that helped you