Report Design
 Crystal Reports Forum : Crystal Reports for Visual Studio 2005 and Newer : Report Design
Message Icon Topic: Report viewer not paging in asp.net Post Reply Post New Topic
Author Message
KMeyer
Newbie
Newbie


Joined: 03 Jan 2007
Location: Australia
Online Status: Offline
Posts: 22
Quote KMeyer Replybullet Topic: Report viewer not paging in asp.net
    Posted: 17 Aug 2010 at 3:13am
I have found numerous posts via Google on the fact that the asp.net report viewer will not navigate past page 2. The examples found are generally about issues displaying reports programatically and the paging bar not responding.
 
In my case I am just using an imbedded reportviewer and when a multipage report is displayed a similar problem occurs it will go to pages past 2 if nominated, but not navigate past 2 using the nav bar button. One post suggested loading CR SP1 for 2005, this has not corrected the problem.
 
I was wondering if anyone else has had this issue and knows of a reportviewer property setting in VS 2005 that may be the cause.
 
Thanks
Kim
IP IP Logged
KMeyer
Newbie
Newbie


Joined: 03 Jan 2007
Location: Australia
Online Status: Offline
Posts: 22
Quote KMeyer Replybullet Posted: 18 Aug 2010 at 8:56pm
The answer lies here Smile
 
 
Here is how I got the Reportviewer to navigate correctly as per the tutorial linked in the above post.
 

using CrystalDecisions.CrystalReports.Engine;

using CrystalDecisions.Shared;

public partial class OrderEntryCheck : System.Web.UI.Page

{

protected void Page_Load(object sender, EventArgs e)

{

CrystalReportSource1.ReportDocument.SetDatabaseLogon("user", "pswd","server address","database");

}

private void ConfigureCrystalReports()

{

CrystalReportViewer1.ReportSource = CrystalReportSource1;

}

private void Page_Init(object sender, EventArgs e)

{

ConfigureCrystalReports();

}

}

Hope it helps others who find their way here, over the years a number of people have asked the same question on numerous asp.net forums, I believe this to be a complete answer.
 
Kim
 
 
 


Edited by KMeyer - 18 Aug 2010 at 9:01pm
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.015 seconds.