Report Design
 Crystal Reports Forum : Crystal Reports for Visual Studio 2005 and Newer : Report Design
Message Icon Topic: can't see any button in CrystalReportsViewer Post Reply Post New Topic
Author Message
danisupr4
Newbie
Newbie
Avatar

Joined: 10 Nov 2008
Location: Indonesia
Online Status: Offline
Posts: 3
Quote danisupr4 Replybullet Topic: can't see any button in CrystalReportsViewer
    Posted: 02 Dec 2008 at 8:38am
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?
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.031 seconds.