title: Button inside updatepanel not working
body: <p>I am retrieving download urls from a database on <code>Button2</code> but when I put my <code>GridView</code> inside the <code>UpdatePanel</code>, it gives me following error:</p>
  
  <blockquote>
    <p>Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerParserErrorException:</p>
  </blockquote>
  
  <p>Code:</p>
  
  <pre><code>&lt;asp:UpdatePanel ID="UpdatePanel1" runat="server"&gt;
    &lt;ContentTemplate&gt;
      &lt;asp:GridView ID="GridView2" runat="server" AutoGenerateColumns="False"
                    DataSourceID="SqlDataSource1" ShowHeaderWhenEmpty="True" 
                    EmptyDataText="No Uploads are found" ShowEmptyTable="True"
                    ShowFooterWhenEmpty="False" Style="margin-top: 20px" 
                    OnSelectedIndexChanged="GridView2_SelectedIndexChanged"
                    OnRowDataBound="GridView2_RowDataBound"&gt;
        &lt;asp:TemplateField ShowHeader="False" HeaderText="Receive"&gt;
          &lt;ItemTemplate&gt; 
            &lt;asp:Button ID="Button2" runat="server" CausesValidation="false" CommandName="select" Text="Receive" /&gt; 
          &lt;/ItemTemplate&gt;
        &lt;/asp:TemplateField&gt;
      &lt;/asp:GridView&gt;
    &lt;/ContentTemplate&gt;
  &lt;/asp:UpdatePanel&gt;
  </code></pre>