I have been successfully viewing Crystal Reports through a web application in Netscape using the netscape plugin viewer. This no longer works in Netscape 7.0. Has anyone had any success with this? Thanks for any help.
Here is the code I'm currently using: (the onUnload seems to be ignored)
<html>
<head>
<title>Crystal Decisions Report Viewer Plug-In</title>
</head>
<body bgcolor="#C6C6C6" onUnload="CallDestroy();">
<P align="center">
<script language="javascript">
document.writeln('<EMBED name="startup"');
document.writeln('type=application/x-ssreportviewer-plugin;version=8.0.0.2');
document.writeln('Pluginspage="/viewer/ActiveXViewer/en/get-npviewer.htm"');
document.writeln('Width=100% ');
document.writeln('Height=100% ');
document.writeln('Param_URL="rptserver.asp" ');
document.writeln('Param_EnableExportButton="true" ');
document.writeln('Param_EnableHelpButton="false" ');
document.writeln('Param_DisplayGroupTree="true" ');
document.writeln('Param_DisplayToolbar="true" ');
document.writeln('Param_EnableGroupTree="true" ');
document.writeln('Param_EnablePrintButton="true" ');
document.writeln('Param_EnableRefreshButton="false" ');
document.writeln('Param_EnableZoomControl="true" ');
document.writeln('>');
document.writeln('</EMBED>');
</script>
<script language="javascript">
function CallDestroy()
{
window.open("Cleanup.asp","Cleanup","status=no,toolbar=no,location=no,menu=no,scrollbars=no,width=1,height=1"
self.focus()
}
</script>
</p>
</body>
</html>
Here is the code I'm currently using: (the onUnload seems to be ignored)
<html>
<head>
<title>Crystal Decisions Report Viewer Plug-In</title>
</head>
<body bgcolor="#C6C6C6" onUnload="CallDestroy();">
<P align="center">
<script language="javascript">
document.writeln('<EMBED name="startup"');
document.writeln('type=application/x-ssreportviewer-plugin;version=8.0.0.2');
document.writeln('Pluginspage="/viewer/ActiveXViewer/en/get-npviewer.htm"');
document.writeln('Width=100% ');
document.writeln('Height=100% ');
document.writeln('Param_URL="rptserver.asp" ');
document.writeln('Param_EnableExportButton="true" ');
document.writeln('Param_EnableHelpButton="false" ');
document.writeln('Param_DisplayGroupTree="true" ');
document.writeln('Param_DisplayToolbar="true" ');
document.writeln('Param_EnableGroupTree="true" ');
document.writeln('Param_EnablePrintButton="true" ');
document.writeln('Param_EnableRefreshButton="false" ');
document.writeln('Param_EnableZoomControl="true" ');
document.writeln('>');
document.writeln('</EMBED>');
</script>
<script language="javascript">
function CallDestroy()
{
window.open("Cleanup.asp","Cleanup","status=no,toolbar=no,location=no,menu=no,scrollbars=no,width=1,height=1"
self.focus()
}
</script>
</p>
</body>
</html>