title: Is there any way to auto-update a Void and PlaceHolder without reloading the whole page?
body: <p>I wounder if there is any way to auto-update a Void/PlaceHolder with some SQL queries without refreshing the whole ASP page?</p>
  
  <p>I have tried with some ASP timer without any success.</p>
  
  <p><strong>SOLUTION:</strong></p>
  
  <p>I've tried more with <code>asp:updatapanel</code> and found a solution for my case.</p>
  
  <p>ASP:</p>
  
  <pre><code>&lt;asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional" ViewStateMode="Enabled"&gt;
      &lt;ContentTemplate&gt;
          //Content here
          &lt;asp:PlaceHolder ID = "MachineBoxHolder" runat="server" /&gt; 
      &lt;/ContentTemplate&gt;
      &lt;Triggers&gt;
          &lt;asp:AsyncPostBackTrigger ControlID="Timer1" EventName="Tick" /&gt;
      &lt;/Triggers&gt;
  &lt;/asp:UpdatePanel&gt;
  &lt;asp:Timer ID="Timer1" runat="server" Interval="2000" OnTick="Timer1_Tick"&gt;
  &lt;/asp:Timer&gt;
  </code></pre>
  
  <p>C#</p>
  
  <pre><code>protected void Timer1_Tick(object sender, EventArgs e)
      {
          //content
      }
  </code></pre>