title: GridView selects wrong row for editing
body: <p>I have a simple admin panel with a simple gridview that list all articles present in the database.</p>
  
  <p>I've added a filtering doodle (a textbox + a button) that allows the user to filter the gridview by a article name.</p>
  
  <p>The code for the filter:</p>
  
  <pre><code>    protected void ButtonSearchArticle_Click(object sender, EventArgs e)
      {
          {
              LinqDataSourceAdminArticles.Where = "Title.Contains(" + "\"" + TextBoxSearchArticle.Text + "\")";
              LinqDataSourceAdminArticles.DataBind();
          }
          LinqDataSourceAdminArticles.DataBind();
      }
  </code></pre>
  
  <p>The gridview has the default quick editing and deleting enabled on it. The problem is, after I filter it with that code, it starts to select wrong rows when I click the "edit" button. Any ideas how to solve this? I know it has something to do with a postback.</p>
  
  <p>I've checked <a href="https://stackoverflow.com/questions/3574196/why-is-my-gridview-footerrow-referencing-the-wrong-row">Why is My GridView FooterRow Referencing the Wrong Row?</a> and <a href="https://stackoverflow.com/questions/870344/sorted-gridview-selects-wrong-row">Sorted gridview selects wrong row</a> but those didn't solve my problem.</p>
  
  <p>Thanks!</p>