search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

A control with ID 'UpdateTimer' could not be found for the trigger in UpdatePanel 'TimedPanel'.

Asked by korbe
11 years ago.

A control with ID 'UpdateTimer' could not be found for the trigger in UpdatePanel 'TimedPanel'.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.InvalidOperationException: A control with ID 'UpdateTimer' could not be found for the trigger in UpdatePanel 'TimedPanel'.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[InvalidOperationException: A control with ID 'UpdateTimer' could not be found for the trigger in UpdatePanel 'TimedPanel'.]
System.Web.UI.UpdatePanelControlTrigger.FindTargetControl(Boolean searchNamingContainers) +460191
System.Web.UI.AsyncPostBackTrigger.Initialize() +27
System.Web.UI.UpdatePanelTriggerCollection.Initialize() +79
System.Web.UI.UpdatePanel.Initialize() +40
System.Web.UI.UpdatePanel.OnLoad(EventArgs e) +51
System.Web.UI.Control.LoadRecursive() +74
System.Web.UI.Control.LoadRecursive() +146
System.Web.UI.Control.LoadRecursive() +146
System.Web.UI.Control.LoadRecursive() +146
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2207

Answer posted by Dan Letecky [DayPilot]
11 years ago.

This is not enough information to give you an answer. It depends on the location of the UpdateTimer.

A few hints:

1. Please see:
http://stackoverflow.com/questions/6667398/a-control-with-id-could-not-be-found-for-the-trigger-in-updatepanel

2. You should try to move the UpdateTimer control from TimedPanel if it is inside.

3. Usually the control can't be found if it's in a different container (e.g. another UpdatePanel, Repeater, etc.). If you reference it manually you can try to replace ControlID="MyControl" with ControlID="<%= MyControl.ClientID %>".

Comment posted by Dan Letecky [DayPilot]
11 years ago.

If you are trying to refresh the calendar automatically you should also take a look at the AutoRefresh feature:

This feature is implemented for all controls (Scheduler, Calendar and Month).

This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.