Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
365
UI Hang on Print Preview
posted

Hi,

i am using XamReportPreview to preview the XamDataGrid the total page i am previewing is 32, it take almost 15 - 30 second to generate the preview (and my UI become unresponsive while generating preview but i don't want my UI un responsive ).

Following are the steps that we following to Generate the Preview:

Report reportObj = new Report();

 EmbeddedVisualReportSection section = new EmbeddedVisualReportSection(xamDataGridObject);

reportObj.Sections.Add(section);

previewer.GeneratePreview(reportObj, false, true); ==> This line take too much time to execute.

Window window = new Window();

 window.ShowDialog();

Looking forward for fruitful suggestion 

Thanks & Regards,

Kashif Mujeeb 

Parents Reply Children