Hi,
I have a page with 2 updatepanels and a Timer inside one of them. One is set to have children as Triggers (the one containing the timer); the other I update using the updatePanel.update() function inside the timer tick event. For some reason, the entire page is being reloaded on each tick (ie: the page_load event fires). This has just started happening - it was working perfectly before.
Can anyone offer any help?
Here is some code: ;)
<asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional" Visible="False">
<ContentTemplate>
<asp:Timer id="Timer1" runat="server" OnTick="Timer1_Tick" Interval="6000" Enabled="False">
</asp:Timer>
<BR />
<!--content here -->
</ContentTemplate>
</asp:UpdatePanel>
...
<asp:UpdatePanel ID="SummaryDataUpdatePanel" runat="server" Visible="False" UpdateMode="Conditional" ChildrenAsTriggers="False"></asp:UpdatePanel>
Thanks,
kreid
Problem solved:
http://weblogs.asp.net/scottgu/archive/2006/12/10/gotcha-don-t-use-xhtmlconformance-mode-legacy-with-asp-net-ajax.aspx
No comments:
Post a Comment