Report Designer - preview
Posted: Wed Aug 22, 2012 8:50 am
Hi All,
I created a special kind of extension that generates table columns dynamically. It works fine but I have to change the report before compilation starts.
That creates a problem for editing this report in report designer. I can hookup a StiOptions.Engine.GlobalEvents.ReportCompiling or similar event and hookup an extension before it is shown in preview. Unfortunately in this case I am modifying report that is used after previewing in the designer tab. If user returns back to design tab he can see the report with all the columns generated by my extension which is wrong.
Is there any way how to force preview to use a new report (then I could clone existing one apply the extension and render this new one)?
Are there any other options how to accomplish user friendly behavior?
Thank you.
Pavel
I created a special kind of extension that generates table columns dynamically. It works fine but I have to change the report before compilation starts.
That creates a problem for editing this report in report designer. I can hookup a StiOptions.Engine.GlobalEvents.ReportCompiling or similar event and hookup an extension before it is shown in preview. Unfortunately in this case I am modifying report that is used after previewing in the designer tab. If user returns back to design tab he can see the report with all the columns generated by my extension which is wrong.
Is there any way how to force preview to use a new report (then I could clone existing one apply the extension and render this new one)?
Are there any other options how to accomplish user friendly behavior?
Thank you.
Pavel