If you are working with ASP.NET AJAX controls and encounter "Object Expected" error when using ValidationSummary and ModalPopup. The quick fix for this is to put your ModalPopup declaration at the top before any ValidationSummary controls in your page.
That's it! I hope someone find this post useful!