I'm popping up some context menu table at my master page (so if one of the items pressed it disappears), also I have a Timer at one of my pages. At the timer interval, if the "context menu table" appears, then it refreshed and disappears. I don't want the timer interval to interfere the controls at my master page. I coded the timer inside a control panel with all of the relevant code so it might affect only the controls inside that control panel but all the scenario keep exists.

The code:

The timer at the control panel is as follows:

asp:UpdatePanel ID="UpdatePanelLabels" UpdateMode="Conditional" runat="server"
                <asp:AsyncPostBackTrigger ControlID="Timer1" EventName="Tick" />
                asp:Timer ID="Timer1" OnTick="Timer1_Tick" runat="server" Interval="10000"
                <asp:Label ID="lblViews1" runat="server"  ></asp:Label>

Any suggestions? I'm struggling with that issue... Thanks in advance!!

Related posts

Recent Viewed