Good evening,

I am using ajax with Timer for partial page update. Partial page update works great, but I found out that for some reason for each update it creates a javascript function in head. So far it does not seem to affect website productivity even after thousands of scripts, but this is not what a really good website shall have. Any tips on how to get rid of that?

<div id = "wrapper">

    <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
    <ContentTemplate>

    <div>
    .
    .
    .
    </div>

    <asp:Timer ID="Timer1" runat="server" Interval="5000"></asp:Timer>
    </ContentTemplate>
    </asp:UpdatePanel>

Lots of scripts

Related posts

Recent Viewed