locked
Crystal Report displays a blank page until moved to next page RRS feed

  • Question

  • User-1342002041 posted

    Hi all,

    I'm having a problem viewing Crystal Report, everytime I run my program the Crystal Report displays a blank first page. But when I move to the next page, the content displays. The contents on the first page will also be shown if I move back.

    I also tried to make a simple report with texts only, no database connection whatsoever. Still a blank page will be displayed, but if I place the cursor on the page textbox and press enter then the contents (texts) will be displayed.

    I tried it with Chrome, FF, IE. All with the same error.

    BTW, this is during the development of the program. I haven't published it yet. 

    Anyone experienced and solved the same problem?

    Please help.

    Thanks in advance!

    Thursday, February 14, 2013 11:06 PM

All replies

  • User-578610739 posted

    Hi Friend,

    I think , previously may be set "NewPageAfter=true" in section expert for report header or page header .

    please see.

    http://forums.asp.net/t/1253273.aspx/1/10

    http://forums.asp.net/t/1825128.aspx/1

    Friday, February 15, 2013 2:25 AM
  • User-1342002041 posted

    Hi Ajay,

    Thanks for replying.

    I tried what you suggested, but it only adds another page. Still the 1st page being initially blank.

    Friday, February 15, 2013 2:36 AM
  • User-578610739 posted

    Hi Rene,

    No exact idea for your problem. but please again just check all section in section expert for all checkbox available. see all checkbox which is true, will create a problem.

    Also in report options check your fields formatting.

    Friday, February 15, 2013 3:03 AM
  • User-929656654 posted

    Can you place screen shot of your sections (Report Design view with section names visible)

    Friday, February 15, 2013 3:54 AM
  • User-1342002041 posted

    Hi Sirama,

    Here are the screenshots.

    Screen 1

    Screen 2

    Screen 3

    Friday, February 15, 2013 4:15 AM
  • User-1342002041 posted

    This are the codes and screenshots:

    Imports CrystalDecisions.CrystalReports.Engine
    Imports CrystalDecisions.Shared
    Imports System.Data
    Imports System.Data.SqlClient
    Imports System.Configuration
    
    Partial Class ReportViewer
        Inherits System.Web.UI.Page
    
        Protected Sub Page_Init(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Init
            Dim objReport As New CrystalDecisions.CrystalReports.Engine.ReportDocument
    
            objReport.Load(Server.MapPath("~/Reports/Test.rpt"))
    
            CRViewer.ReportSource = objReport
    
            CRViewer.RefreshReport()
        End Sub
    End Class


    Section 3

    Section 4Section 5Section 2Section 1

    Friday, February 15, 2013 8:11 PM