title: Button click in gridview not firing when inside update panel
body: <pre><code>&lt;asp:Timer ID="timer1" runat="server" Interval="1000" OnTick="Timer1_Tick" /&gt;
  &lt;asp:UpdatePanel runat="server" id="pnlUpdate"&gt;
      &lt;Triggers&gt;
          &lt;asp:AsyncPostBackTrigger ControlID="timer1" eventname="Tick"/&gt;
      &lt;/Triggers&gt;
      &lt;ContentTemplate&gt;
          &lt;asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="false" CssClass="table table-hover table-condensed" 
              GridLines="None" AllowPaging="true" PageSize="20"
              OnPageIndexChanging="GridView1_PageIndexChanging"&gt;
          &lt;Columns&gt;
              &lt;asp:BoundField ItemStyle-Width="50%" DataField="Story" HeaderText="Story"/&gt;
              &lt;asp:BoundField ItemStyle-Width="15%" ItemStyle-Wrap="false" DataField="AssignedTo" HeaderText="Assigned To"/&gt;
              &lt;asp:BoundField ItemStyle-Width="15%" ItemStyle-Wrap="false" DataField="Status" HeaderText="Status"/&gt;
              &lt;asp:BoundField ItemStyle-Width="15%" ItemStyle-Wrap="false" DataField="Started" HeaderText="Started"/&gt;
              &lt;asp:BoundField ItemStyle-Width="5%" ItemStyle-Wrap="false" DataField="Updated" HeaderText="Updated"/&gt;
              &lt;asp:TemplateField&gt;
                  &lt;ItemTemplate&gt;
                      &lt;asp:Button ID="Buttonid" runat="server" CommandName="ViewItem" Text="View"  BorderStyle="None" BackColor="White" 
                          OnClick="Button_click_event"&gt;&lt;/asp:Button&gt;   
                  &lt;/ItemTemplate&gt;
              &lt;/asp:TemplateField&gt;
          &lt;/Columns&gt;
          &lt;RowStyle CssClass="cursor-pointer" /&gt;
          &lt;/asp:GridView&gt;
      &lt;/ContentTemplate&gt;
  &lt;/asp:UpdatePanel&gt;
  </code></pre>
  
  <p><code>Button_click_event</code> won't fire when I have update panel, but it works when it is not in the update panel.</p>