Has anybody used Article 13225 - How to add a .NET Crystal Reports Viewer into a form
I've managed to get the ASSEMBLIES part working and the ReportViewer.cls is now syntax checking.
However the last part about creating the FORM and adding the code they described is not working for me.
I've attached the assemblies.xml and the ReportViewer.cls (which seems to be OK) and the ReportViewer.p (which I am having trouble with).
What do I need to do to the ReportViewer to get it working?
[View:~/cfs-file.ashx/__key/communityserver-discussions-components-files/27/6837.ReportViewer.p.zip:550:0]
[View:~/cfs-file.ashx/__key/communityserver-discussions-components-files/27/ReportViewer.cls.zip:550:0]
[View:~/cfs-file.ashx/__key/communityserver-discussions-components-files/27/assemblies.xml:550:0]
I assume you are trying to show a form with the usercontrol docked into it.
Change the last line of the .p to;
FormObjectRef:Controls:Add(crystalReportViewer1).
FormObjectRef:Show(). /* OR WAIT-FOR FormObjectRef:ShowDialog(). */