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

Async Export

1 Answer 170 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Massimo
Top achievements
Rank 1
Massimo asked on 31 May 2013, 03:08 PM
Hi , is there a way to export asynchronous a very big amount of data without freezing the UI?
I've to export up to 1'000'000+ rows and the program is freezed for a long time while the grid is exporting.

Thanks,
Massimo

1 Answer, 1 is accepted

Sort by
0
Ivan Ivanov
Telerik team
answered on 03 Jun 2013, 03:38 PM
Hello,

 As RadGridView's exporting mechanism works per element, it is executed synchronously on the UI thread, which results into UI freeze. Unfortunately, with the current implementation it is not possible to redirect it to another thread, as it operates with visual elements, which are owned by the UI thread and are not accessible from other threads. Moreover, I believe that you should be using some specialized tool while exporting such amount of data. Have you considered using Telerik Reporting?

Regards,
Ivan Ivanov
Telerik

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
GridView
Asked by
Massimo
Top achievements
Rank 1
Answers by
Ivan Ivanov
Telerik team
Share this question
or