I have a news and announcement web part that I would liek to refresh every 5 or 10 minutes so users get the latest information. I have a bunch of asp controls within an update panel's contenttemplate. What code do I need to refresh or update the web part every 5 or 10 minutes?

  <asp:UpdatePanel ID="UpdatePanel1" runat="server">
    <asp:Repeater ID="repAnnouncements" runat="server">
            <td style="padding-right:15px; padding-top:1px;">
                <asp:HyperLink ID="hypImageEditLink" runat="server">
                    <asp:Image ID="imgLink" runat="server" Width="150px" Height="110px" ImageUrl='<%#Eval("Images")%>'/>
                <br/><br />
                <asp:HyperLink ID="hypTextEditLink" runat="server" Text='<%#Eval("Title")%>' CssClass="TitleStyle"/>
                <asp:HiddenField ID="ItemID" Value='<%#Eval("ID") %>' runat="server" />

   <asp:Label ID="test" runat="server" Visible="false" />

1 Answer 1


If you just want to update using the ASP.NET AJAX UpdatePanel, then just add a Timer Control


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.