title: LinkButton in ListView in UpdatePanel causes full postback
body: <p>I have a LinkButton in a ListView in an UpdatePanel. I would like the button (well, any of them) to cause a partial postback, but they are causing a full page postback.</p>
  
  <pre><code>&lt;asp:UpdatePanel ID="upOutcomes" UpdateMode="Conditional" runat="server"&gt;
    &lt;ContentTemplate&gt;
        &lt;asp:ListView ID="lvTargets" runat="server" onitemdatabound="lvTargets_ItemDataBound"&gt;
          &lt;ItemTemplate&gt;
            &lt;asp:LinkButton ID="lnkAddTarget" CssClass="lo" Text='&lt;%# Eval("Title") + " &lt;b&gt;" + Eval("Level") + Eval("SubLevel") + "&lt;/b&gt;" %&gt;' runat="server"&gt;&lt;/asp:LinkButton&gt;
          &lt;/ItemTemplate&gt;
        &lt;/asp:ListView&gt;
    &lt;/ContentTemplate&gt;
  &lt;/asp:UpdatePanel&gt;
  </code></pre>
  
  <p>I found another post on stackoverflow which suggested adding this:</p>
  
  <pre><code>protected void lvTargets_ItemDataBound(object sender, ListViewItemEventArgs e) {
    var lb = e.Item.FindControl("lnkAddTarget") as LinkButton;
    tsm.RegisterAsyncPostBackControl(lb);  // ToolkitScriptManager
  }
  </code></pre>
  
  <p>It hasn't made a difference...</p>
  
  <p>There are a few other similar posts too, but I can't find a solution! Any ideas?</p>