This is a migrated thread and some comments may be shown as answers.

thread exception on sorting

2 Answers 77 Views
GridView
This is a migrated thread and some comments may be shown as answers.
JIG
Top achievements
Rank 1
JIG asked on 28 May 2018, 06:10 AM

I have a radgridview combined with a raddatapager. The data is loaded on demand.

 

The problem i have now is if i have more then 1 page and i click on the column header for sorting i get a threading exception.

How can i fix/bypass the error?

2 Answers, 1 is accepted

Sort by
0
JIG
Top achievements
Rank 1
answered on 28 May 2018, 07:34 AM

I found out i had to do with the dataloadingmode of the gridview, it was set to async

0
Vladimir Stoyanov
Telerik team
answered on 30 May 2018, 02:11 PM
Hello CreoniX,

I am glad to hear that you managed to find a solution.

Indeed setting the DataLoadMode to Asynchronous is not recommended. You can find this and some other tips about the RadGridView control in our Tips and Tricks article.

Regards,
Vladimir Stoyanov
Progress Telerik
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
Tags
GridView
Asked by
JIG
Top achievements
Rank 1
Answers by
JIG
Top achievements
Rank 1
Vladimir Stoyanov
Telerik team
Share this question
or