In RadGridView, the user can set the string to search.
How to determine that RadGridView is searching? Is it possible to programmatically interrupt the search process?
If there are many rows in the table, the search can take quite a long time. If the user does not wait for the end of the search and closes the form with the RadGridView, an error occurs.
************** Текст исключения **************
System.ObjectDisposedException: Доступ к ликвидированному объекту невозможен.
Имя объекта: "RadGridView".
в System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous)
в System.Windows.Forms.Control.Invoke(Delegate method, Object[] args)
в Telerik.WinControls.UI.GridSearchCellElement.searchRow_SearchProgressChanged(Object sender, SearchProgressChangedEventArgs e)
в Telerik.WinControls.UI.GridViewSearchRowInfo.OnSearchProgressChanged(SearchProgressChangedEventArgs e)
в Telerik.WinControls.UI.GridViewSearchRowInfo.ReportSearchProgress(Int32 percent, GridSearchResultCellInfo resultCell, GridSearchResultCellCollection resultCells)
в Telerik.WinControls.UI.GridViewSearchRowInfo.TraverseRows(DoWorkEventArgs e)