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 

  • 138253
    Offline posted

    Hello Kashif,

     

    Thank you for your post. I have been looking into it, but since I cannot be completely sure how your data is organized, I am not able to reproduce your behavior, so if this is still an issue for you, could you please send an isolated sample project, where the issue is reproduced, so I can investigate it further for you.

     

    Looking forward for your reply.