Calling Export() clears preview window

I want to offer a button for the user to email a .pdf of a report using options not available in your email component. I created the button, and in the OnClick handler, I call Export() using the pdf export component. However, when I do that, the preview window goes blank (the report disappears). I would like to leave the report visible for the user to print, etc.

This happens whether or not I call Preview first.

If you export using the export button, the report does not go blank, so it must be possible. Any idea why the report goes blank when I call Export()?

Thanks!

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.