This question is locked. New answers and comments are not allowed.
Hello!
I want to export data of a gridView using the Export method.
The gridView is not on the screen, it is generated shortly before calling Export(...) in the code-behind file.
Although I am setting the DataContext and the ItemsSource the result is always empty (only the headers of the gridView).
How is it possible to export a gridView that is not visible on the screen?
Any ideas?
Thanks a lot,
Tim.
I want to export data of a gridView using the Export method.
The gridView is not on the screen, it is generated shortly before calling Export(...) in the code-behind file.
Although I am setting the DataContext and the ItemsSource the result is always empty (only the headers of the gridView).
How is it possible to export a gridView that is not visible on the screen?
Any ideas?
Thanks a lot,
Tim.
