title: linkbutton oncommand, onClick, RowCommand in grid view not firing
body: <p>I've read tens of posts about this issue and tried them all but with no luck, I'm not sure what am I missing this is gridview code:</p>
  
  <pre><code>&lt;asp:GridView ID="recentJobsGridView" runat="server" CellPadding="4" ForeColor="#333333"
                              GridLines="None" Height="151px" Width="541px" Visible="False" AutoGenerateColumns="False"
                              PageSize="5" AllowPaging="True" OnPageIndexChanging="recentJobsGridView_PageIndexChanging"
                              DataKeyNames="orderItemId"&gt;
                              &lt;AlternatingRowStyle BackColor="White" ForeColor="#284775" /&gt;
                              &lt;Columns&gt;
                                  &lt;asp:TemplateField HeaderText="Order Date" Visible="true"&gt;
                                      &lt;ItemTemplate&gt;
                                          &lt;asp:Label ID="Label1" runat="server" Text='&lt;%# Bind("orderItemId") %&gt;'&gt;&lt;/asp:Label&gt;
                                      &lt;/ItemTemplate&gt;
                                  &lt;/asp:TemplateField&gt;
                                  &lt;asp:TemplateField HeaderText="Order Date"&gt;
                                      &lt;ItemTemplate&gt;
                                          &lt;asp:Label ID="Label1" runat="server" Text='&lt;%# Bind("orderDate") %&gt;'&gt;&lt;/asp:Label&gt;
                                      &lt;/ItemTemplate&gt;
                                  &lt;/asp:TemplateField&gt;
                                  &lt;asp:TemplateField HeaderText="QTY"&gt;
                                      &lt;ItemTemplate&gt;
                                          &lt;asp:Label ID="Label2" runat="server" Text='&lt;%# Bind("QTY") %&gt;'&gt;&lt;/asp:Label&gt;
                                      &lt;/ItemTemplate&gt;
                                  &lt;/asp:TemplateField&gt;
                                  &lt;asp:TemplateField HeaderText="ID"&gt;
                                      &lt;ItemTemplate&gt;
                                          &lt;asp:Label ID="Label3" runat="server" Text='&lt;%# Bind("ID") %&gt;'&gt;&lt;/asp:Label&gt;
                                      &lt;/ItemTemplate&gt;
                                  &lt;/asp:TemplateField&gt;
                                  &lt;asp:TemplateField HeaderText="Length"&gt;
                                      &lt;ItemTemplate&gt;
                                          &lt;asp:Label ID="Label3" runat="server" Text='&lt;%# Bind("length") %&gt;'&gt;&lt;/asp:Label&gt;
                                      &lt;/ItemTemplate&gt;
                                  &lt;/asp:TemplateField&gt;
                                  &lt;asp:TemplateField HeaderText="wall"&gt;
                                      &lt;ItemTemplate&gt;
                                          &lt;asp:Label ID="Label3" runat="server" Text='&lt;%# Bind("wall") %&gt;'&gt;&lt;/asp:Label&gt;
                                      &lt;/ItemTemplate&gt;
                                  &lt;/asp:TemplateField&gt;
                                  &lt;asp:TemplateField HeaderText="Paper Composition"&gt;
                                      &lt;ItemTemplate&gt;
                                          &lt;asp:Label ID="Label3" runat="server" Text='&lt;%# Bind("paperComposition") %&gt;'&gt;&lt;/asp:Label&gt;
                                      &lt;/ItemTemplate&gt;
                                  &lt;/asp:TemplateField&gt;
                                  &lt;asp:TemplateField&gt;
                                      &lt;ItemTemplate&gt;
                                          &lt;asp:LinkButton ID="btAdd" runat="server" OnCommand="btAdd_Command"  Text="Add" 
                                          CommandArgument='&lt;%# Container.DataItem %&gt;' CommandName="Add"&gt;&lt;/asp:LinkButton&gt;
                                      &lt;/ItemTemplate&gt;
                                  &lt;/asp:TemplateField&gt;
                              &lt;/Columns&gt;
                              &lt;EditRowStyle BackColor="#999999" /&gt;
                              &lt;FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" /&gt;
                              &lt;HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" /&gt;
                              &lt;PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" /&gt;
                              &lt;RowStyle BackColor="#F7F6F3" ForeColor="#333333" /&gt;
                              &lt;SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" /&gt;
                              &lt;SortedAscendingCellStyle BackColor="#E9E7E2" /&gt;
                              &lt;SortedAscendingHeaderStyle BackColor="#506C8C" /&gt;
                              &lt;SortedDescendingCellStyle BackColor="#FFFDF8" /&gt;
                              &lt;SortedDescendingHeaderStyle BackColor="#6F8DAE" /&gt;
                              &lt;SortedAscendingCellStyle BackColor="#E9E7E2" /&gt;
                              &lt;SortedAscendingHeaderStyle BackColor="#506C8C" /&gt;
                              &lt;SortedDescendingCellStyle BackColor="#FFFDF8" /&gt;
                              &lt;SortedDescendingHeaderStyle BackColor="#6F8DAE" /&gt;
                          &lt;/asp:GridView&gt;
  </code></pre>
  
  <p>here is where I bind the grid view:</p>
  
  <pre><code> protected void custGridView_SelectedIndexChanged(object sender, EventArgs e)
      {
          if (custGridView.SelectedDataKey != null)
          {
              selectCustomer = (int)custGridView.SelectedDataKey.Value;
              recentJobsGridView.Visible = true;
              recentJobsGridView.DataSource = ViewDataSource(selectCustomer);
              recentJobsGridView.DataBind();
          }
  
      }
  </code></pre>
  
  <p>and this is the code of the LinkButton:</p>
  
  <pre><code> protected void btAdd_Command(object sender, CommandEventArgs e)
      {
          if (e.CommandName == "Add")
          {
              StatusLbl.Text = "Hellooooooo";
          }
      }
  </code></pre>
  
  <p>I removed everything I just want this message to be displayed but NOTHING is responding
  Help please...</p>