title: Paging not working in Datagrid?
body: <p>I am searching for some data from a database into a datagrid. When I applied paging on it, on clicking the next link of paging the datagrid vanishes without showing anything. I used datagrid.databind() in pageload too when it's postback or I even made a postback event method named <code>datagridname_onpageindexchanged()</code> as :</p>
  
  <pre><code>protected void DataGridSearchResults_PageIndexChanged(object source, DataGridPageChangedEventArgs e)
  {
     DataGridSearchResults.currentpageindex=e.newpageindex;
     DataGridSearchResults.databind();
  }
  </code></pre>