title: Ajax callback UpdatePanel.Update() still reloading whole page
body: <p>I have code in an Update Panel and even though on a button click i am inserting data into a db and simply calling Updatepanel.Update() the whole page is reloaded:</p>
  
  <p>Gifts.ASPX</p>
  
  <pre><code>&lt;table style="width:100%;"&gt;
              &lt;tr&gt;
                  &lt;td&gt;
                      &lt;asp:Label ID="Label2" runat="server" Text="Gift"&gt;&lt;/asp:Label&gt;
                  &lt;/td&gt;
                  &lt;td&gt;
  &lt;asp:UpdatePanel ID="UpdatePanel3" runat="server" UpdateMode="Conditional"&gt;
      &lt;ContentTemplate&gt;
                      &lt;asp:TextBox ID="txtNewGift" runat="server"&gt;&lt;/asp:TextBox&gt;
      &lt;/ContentTemplate&gt;
  &lt;/asp:UpdatePanel&gt;
                  &lt;/td&gt;
              &lt;/tr&gt;
              &lt;tr&gt;
  </code></pre>
  
  <p>Gifts.aspx.CS</p>
  
  <pre><code>protected void cmdAddGift_Click(object sender, EventArgs e)
  {
      OleDbConnection objConn = new OleDbConnection(DataSource);
  
      Random r = new Random();
      int giftID = r.Next(1200, 14000);
  
      OleDbCommand objCommand = new OleDbCommand("Insert into Gifts (GiftID, Description) values (" + giftID + ",'" + txtNewGift.Text + "')", objConn);
      ExecuteCommand(objCommand);
  
      PopulateGifts(objConn);
  
      txtNewGift.Text = "";
      UpdatePanel3.Update();
  }
  </code></pre>
  
  <p>Any ideas why this whole page would reload instead of just the textbox getting update?</p>