This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Hi, I am currently exporting a report through DocumentViewer. In the report I have a DataGrid but when I print it out the grid does not render unless I scroll down to where it is located in the report and then print it. Is there any way to pre-render/load or force the DataGrid to show without the need to scroll down and view it? Thanks in advance. |
|
|
Hello The only suggestion I can think of is to try calling Measure on the DataGrid. If this does not work, I'm not sure how the issue in this scenario could be solved. You may need to export the data grid as an image and then insert the image into the DocumentViewer. I've always run in to trouble when trying to do printing with WPF. -Jason Fauchelle |
|