To reproduce: run the attached sample project.
Type "chef" in the search box and then try to sort some of the columns. Click the header cell several times and as a result the exception will occur.
Workaround:
public class CustomGrid : RadGridView
{
public new object DataSource
{
get
{
return (object)base.DataSource;
}
set
{
GridViewSearchRowInfo.Cancel = true;
Thread.Sleep(100);
base.DataSource = null;
this.EnableFiltering = false;
base.DataSource = value;
this.EnableFiltering = true;
base.CurrentRow = null;
}
}
}