25Williamp
New Member
On a website Im working on I have a usercontrol which uses a Timer to update it self.Its working fine, but when I put this control inside the master page its causing all other ajaxcontroltoolkit controls and all other update panels to be refreshed, I've tried many things but I cant figure it up.This is my last attempt:inside the UserControl:\[code\] <asp:UpdatePanel ID="UpdatePanel2" runat="server" UpdateMode="Conditional"> <ContentTemplate> <asp:Timer ID="tmrUpdateMessages" runat="server" Enabled="true" Interval="5000" OnTick="tmrUpdateMessages_Tick"> </asp:Timer> </ContentTemplate> <Triggers> <asp:AsyncPostBackTrigger ControlID="tmrUpdateMessages" EventName="Tick" /> </Triggers> </asp:UpdatePanel>\[/code\]On master:\[code\] clientChat = (ChatClient)Page.LoadControl(Page.ResolveUrl("~/ChatClient.ascx"));\[/code\]As i said this works fine, but when I put it with another Ajaxcontroltoolkit control on the same page its being updated also.for example this control is on the master page:\[code\] <asp:TextBoxWatermarkExtender ID="NameTextBox_TextBoxWatermarkExtender" runat="server" Enabled="True" TargetControlID="NameTextBox" WatermarkText="Name"> </asp:TextBoxWatermarkExtender>\[/code\]Any help would be appreciated, Thanks !