Hi All,
I am pretty new to Crystal coding and trying to enhance a report that
we have created in .Net
I have a CrystalReportViewer control which loads a report from Cache
memory. This all works fine.
When we close the report we fire a snippet of code using the
page.onunload event. This clears the report out of the Cache memory.
This works ok too.
However the button controls (export, print, navigate, zoom etc) on the
CrystalReportViewer run the __doPostBack javascript, which subsequently
fires the page.onunload event again, this is the problem we have.
I am able to hijack most of the navigation buttons using form.onsubmit,
but the Export, Print and Zoom buttons all directly access the
__doPostBack function.
Is there anyway to control the CrystalReportViewer controls / events?
Thanks,
Mark