title: Timer in UpdatePanel causes some sort of full postback
body: <p>I have some sort of a strange problem, I have an update panel which is triggerd by a timer. </p>
  
  <p>Also I have on this page is a function that calls the DB and retrieves data from it. the function does not being called from the update panel or even related to it.</p>
  
  <p>the  problem is that I see in my log file that every time there is a tick and the update panel being updated there is also a call to my DB server (this function is in the page_Load section ) to retrieve the data again. but the page doesn't seem to do a full postback (It stays the same and doesn't looks like being reloaded)</p>
  
  <p>my code:</p>
  
  <pre><code>&lt;asp:Timer runat="server" id="UpdateTimer" interval="5000" ontick="UpdateTimer_Tick" /&gt;
  &lt;asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional"&gt;
      &lt;Triggers&gt;
          &lt;asp:AsyncPostBackTrigger controlid="UpdateTimer" eventname="Tick" /&gt;
      &lt;/Triggers&gt;
      &lt;ContentTemplate&gt;
          &lt;span id="s1" runat="server"&gt;&lt;/span&gt;
      &lt;/ContentTemplate&gt;
  &lt;/asp:UpdatePanel&gt;  
  </code></pre>
  
  <p>and code behind:</p>
  
  <pre><code>protected void UpdateTimer_Tick(object sender, EventArgs e)
  {
      DateTime dt = TimeConvertor.getCurrentGameTime();
      s1.InnerText = String.Format("Current game time: {0:dd/MM/yyyy HH:mm}", dt);
  }
  </code></pre>
  
  <p>The function to retrieve data from the DB is in the page_load of the page.</p>
  
  <p>Any help is appreciated </p>
  
  <p>Thank you</p>
  
  <p>Doron</p>