But there is a delegate(add_shown) for Ajax modal popup control where you can wrap your method in and it will be called once MPE opens. Here it is how you can use that
// note: MYMPEID is behaviorID of MPE.
Those who are not aware of pageLoad method defined in above example, It’s load event that gets triggered when page loads. It’s entirely different topic but if you are interested to read more about ASP.NET AJAX client life cycle here is the link. ASP.NET AJAX Client Life-Cycle Events.
Please leave a comment or question you have.