hello.. i'm using Crystal Reports 10 OEM with Visual Studio 2005
i can't see any button (PrintButton, CloseButton, ExportButton, etc) in my CrystalReportViewer when I added it to multiple TabPage (TabControl component in .NET).
These are my action/procedure when doing that:
- add TabControl component to the Form, then create 4 TabPage
- add CrystalReportViewer to each TabPage
- add the following code to the Form
Dim cr1 As New ReportDocument
cr1.Load(Application.StartupPath & "\Report1.rpt")
cr1.SetDataSource(xsd1)
crv1.ReportSource = cr1
Dim cr2 As New ReportDocument
cr2.Load(Application.StartupPath & "\Report2.rpt")
cr2.SetDataSource(xsd1)
crv2.ReportSource = cr2
.....
.....
crv1 is CrystalReportsViewer for TabPage1, and then I did the same thing with TabPage2, TabPage3, TabPage4 so that I have crv2, crv3, crv4 called the same function, and xsd1 is my DataSet (XSD file) for the data source
- I have written the following code before:
Imports CrystalDecisions.CrystalReports.Engine
I can only see exactly one TabPage showing Crystal Reports standard button for printing, exporting, closing, etc. In my case (for 4 TabPage), the other 3 TabPage shows no button at all.., but every CrystalReportViewer shows the correct content and doesn't have any error.
Does anyone ever have this problem?