I have a modal popup extender tied to a asp:panel control that I want to show when the timer on an asp:updatepanel reloads executes the tick method. The tick method calls another method that checks for specific conditions and if all the conditions are met, I call:
ClientScript.RegisterClientScriptBlock(this.GetType(), "key", "$find('modalPopupExtender').show();", true);
I have the TargetControlID on the extender control set to the asp:updatepanel. So far this is not popping up the modal window.
Should I have the TargetControlID set to the timer control inside of the asp:updatepanel???
What am I missing?