Report Design
 Crystal Reports Forum : Crystal Reports for Visual Studio 2005 and Newer : Report Design
Message Icon Topic: Paging issue in ASP Post Reply Post New Topic
Author Message
snufse
Newbie
Newbie


Joined: 19 Mar 2008
Location: United States
Online Status: Offline
Posts: 36
Quote snufse Replybullet Topic: Paging issue in ASP
    Posted: 13 Mar 2009 at 11:58am
I have an ASP application where user selects a report number and hits a submitt button to show the report. The report is always 4 pages.

User is able to page one page at a time but not able to go straight to the last page. From last page user is however able to go straight to the Question1st page.
 
 

Private Sub ShowCrystalReport()

Try

myCrystalReport1.Load(myPath)

myCrystalReport1.SetParameterValue("BatchGuid", BatchGuid)

myCrystalReport1.SetDatabaseLogon(System.Configuration.ConfigurationManager.AppSettings("CrystalReport_UserId"), System.Configuration.ConfigurationManager.AppSettings("CrystalReport_Password"))

CrystalReportViewer1.ReportSource = myCrystalReport1

CrystalReportViewer1.Zoom(90)

Catch ex As Exception

ErrorIndicator = True

End Try

End Sub

 

 

Protected Sub CrystalReportViewer1_Navigate(ByVal source As Object, ByVal e As CrystalDecisions.Web.NavigateEventArgs) Handles CrystalReportViewer1.Navigate

BatchGuid = ViewState("BatchGuid")

ShowCrystalReport()

End Sub


 
I read somewhere that portion of the code should go in the page_init, not sure if this is the case and what portion of the code should go here.
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.033 seconds.