Hi,
Did you declared it in the aspx file?
Put this in the aspx file:
<CR:CrystalRepo rtViewer id=CrystalRepor tViewer1
runat="server"> </CR:CrystalRepor tViewer>
Note, check if you have this line at the beggining of the line, include it
if not
<%@ Register TagPrefix="cr" Namespace="Crys talDecisions.We b"
Assembly="Cryst alDecisions.Web , Version=9.1.500 0.0, Culture=neutral ,
PublicKeyToken= 692fbea5521e130 4" %>
You can just double click the CrystalReportVi ewer component in the toolbox
and all the above will be included.
Cheers,
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
"Jordan" <jo*****@37.com > wrote in message
news:9a******** *************** ***@posting.goo gle.com...
Hi,
I've declared the statement below in my form and somehow
crystalReportVi ewer1 is always null. Is there anything wrong with the
statement?
private CrystalDecision s.Windows.Forms .CrystalReportV iewer
crystalReportVi ewer1;
Thanks.
Regards,
Jordan