This question is locked. New answers and comments are not allowed.
Hi,
I have two tabs and a different gridview in each. When I go to print or export the two grids only the grid in the first tab(default) gets printed.
When I click the print button I have tried to activate the second tab using the property IsSelected = true from the code behind or the viewmodel but that doesnt work.
If I click on the second tab and then click the print button then both grids print.
The data for the second grid doesnt seem to be populated unless you click on that tab. Is there any way I can force the data to populated in the second grid once I click the print button?
Regards
Joe
I have two tabs and a different gridview in each. When I go to print or export the two grids only the grid in the first tab(default) gets printed.
When I click the print button I have tried to activate the second tab using the property IsSelected = true from the code behind or the viewmodel but that doesnt work.
If I click on the second tab and then click the print button then both grids print.
The data for the second grid doesnt seem to be populated unless you click on that tab. Is there any way I can force the data to populated in the second grid once I click the print button?
Regards
Joe
