.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
david stephan
Gaurav Pal
Post New Web Links

Crystal Report viewer navigation buttons not working

Posted By:      Posted Date: September 15, 2010    Points: 0   Category :ASP.Net
Working in Visual Studio 2008 and using the packaged Cystal Reports (version 10.5). I have a couple pages that use the Crystal Reports Viewer to display the reports, and I use the CRV navigation buttons to page through large reports. Problem: The Next button only goes to page 2. The Previous button goes to Page 1 every time. I've read that this is because the binding of the report occurs in the Page_Load() and the CRV paging resets every time the report is rebinded. It was suggested to move this into Page_Init() which should only fire once, save the report in Session state, and then rebind on post backs. I've tried this, but my code never seems to reach the Page_Init(). In fact, I don't even see Page_Init() as an option. I've tried protected override OnInit(), but it fires every post back so that's no good. Does anyone have suggestions for a solution? Where is Page_Init() in Visual Studio 2008?  Thanks for any help.  -Robert    

View Complete Post

More Related Resource Links

How to manage postback on crystal Report viewer next page click button clickj

 Hi,       I am using Crystal Report on my ASP.NET Fw. 3.5 project. My report contains 100+ pages. When I click on next page button on crystal report viewer control my whole page gets postback to server and then second page appears. This take same time when first time report gets loaded.     Any suggestion how to imporve user experience in thiss case?   Nilkanth Desai   

Rendering reports in crystal report viewer

I am trying to put a crystal report viewer into MVC. When I point a report to the viewer, this is what I get.The report is able to display however there are these box surronding the textfield objects of the crystal report. The attached image is what is being displayed when I view my report on a view.

Crystal report viewer icons are misssing in VS2010

Hi, After installing VS2010, i have upgraded my VS2008 application to VS2010. When i run the asp.net page, it shows report correctly but crystal report viewer tool bar icon's are missing? Following folder is empty: C:\Inetpub\wwwroot\aspnet_client\system_web\4_0_30319 I have tried to copy contents from C:\Inetpub\wwwroot\aspnet_client\system_web\2_0_50727\CrystalReportWebFormViewer4 to 4_0_30319 folder but icons are still missing. Do i need to install crystal report for VS 2010?

Two crystal reports in a single report viewer

hi...to alli want to generate the two crystal reports one is employee and another is project.now i want to display the two reorts in a single crystal report viewer. i've tried using sub-reports but the page header is not avaliable in a sub reports.. so i want to display two separate crystalreports in a single viewer..can anybody help me.. plz

Crystal Report not working in Windows7

I am using .Net Application(.NET Framework 2.0 ), its works fine in Windows 7 But my Crystal report in not working. When i upgrade my system from XP to windows7 then it is working good. But in my new Windows7 system it is not working. It is showing below error. Description:   Stopped working   Problem signature:   Problem Event Name:   CLR20r3   Problem Signature 01:  priceitclient.exe   Problem Signature 02:   Problem Signature 03:  4b1fe3d2   Problem Signature 04:  CrystalDecisions.CrystalReports.Engine   Problem Signature 05:  10.2.3600.0   Problem Signature 06:  4678efe5   Problem Signature 07:  2be   Problem Signature 08:  c   Problem Signature 09:  System.TypeInitialization   OS Version:     6.1.7600.   Locale ID:       1033   Read our privacy statement online:   http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409 pl help me solving this issue.

Link Buttons, Tab Navigation Not working in chrome


Hi forumians,

In my project i have tab navigations (like 4 tabs in a page) when i click on the tab i will get that corresponding tab fields.

for tab navigation

i use

Menu item

my code is below

<asp:MenuItem Text="Personal" Value="0"></asp:MenuItem>
<asp:MenuItem Text="Education" Value="1"></asp:MenuItem>
<asp:MenuItem Text="Experience" Value="2"></asp:MenuItem>
<asp:MenuItem Text="Awards" Value="3"></asp:MenuItem>


the tab control is working well IE, FIREFOX,

But not in chrome browser i cant do the tab navigation and link button clicks and Ajax calendar control also.


kindly tell some way to fix the problem








Crystal Report Export and Print button not working inside UpdatePanel



Iuse UpdatePanel for my pages, clients requested to view pages without flickering.

So, I put all component in update panel, but after that, export and printing for Crystal Reports stoped to work. If I put report viewer outside of updatepanel its working.

Have anyone this problem? There's some solution for this?

Thanks, Paul

SSRS working fine in Report builder and manager but not in Report viewer


HI I have a report that worked fine until we upgraded the SQL server from 2008 to 2008 R2 and the report viewer to latest version as well.
This report has a pie display, NOW instead of showing one pie, it is showing 20 pies!

I am trrying to learn how to resolve and what is causing this. 

How to use report viewer 2010 in VS 2008


I downloaded report viewer 2010 from here


Now I want to actually use it in a website.  How do I do that?  Do I have to modify some part of web.config?  Specifically, what do I need to change?


populate report viewer by code


Hi all

I have a button "Show Report" to show some data from table

what I should write under this button to populate the reports ?

Report viewer error


  • An error has occurred during report processing.
    • A data source instance has not been supplied for the data source "PatientDetailsReport_DataTable1".

  • i am using two to three rdlc reports in my page for single report viewer when i first load the page i got the output in reportviewer but when i try to load other rdlc report then am getting the above mentioned error.i cleared all the datasources for the report viewer before giving new datasource but am getting the same error pls someone help

Printing crystal report from webservice



I am trying to print crystal repot directly from a C# application, which is calling webservice. I am able to display report in crystalreportviewer by passing the webservice call to datasource. However, is there anyway, I can print directly without showing the report?

Alternatively, I was trying return ReportDocument object from webservice, which would solve my problem, but I was unable to return the ReportDocument because of serialization issue. Is it even possible? Thank you


Crystal Report Asking for Database Authentication each time when I view Page.


Whenever I open my Crystal Report page, I am taken to the Database Authentication page where I am asked for

User name
Data Name

each time.

Is there a way to avoid this and I save these authentication in my page once.

I am using VS2005, C#.

Any Help will be appriciated.


Error Message when trying to open crystal report


Logon failed. Details: 42000:[Microsoft][ODBC SQL Server Driver][SQL Server]Cannot open database "DATA" requested by the login. The login failed. Error in File C:\Windows\TEMP\NewQuote {573CE511-64B7-4161-B9DF-0E58EB1EDA19}.rpt: Unable to connect: incorrect log on parameters.

I get the above message when loading the crystal report from the Intranet via IIS but it works fine from the localhost the report loads ok and picks up my parameters.  This is my Code behind Page.

Protected Sub form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles CrystalReportViewer1.Load

        Dim Count As Int32
        Count = Int32.Parse(Label1.Text)

        Dim ConnInfo As New ConnectionInfo
        With ConnInfo
            .ServerName = "\\Server1\Sqlexpress"
            .DatabaseName = "DATA"
            .UserID = "sa"
            .Password = "1181

How to display related tables in one crystal report and how to link this report with combobox?


Hi! I want to display a crystal report in my vb.net application. Suppose I have tables named student details, student marks, student address, etc... Now if I want to display all these details (fields of all tables) in one crystal report (with page breaks if necessary) then how will I achieve it. I will be providing a combo box in my application that contains list of student names. How can I link this combo box with the cystal report to dynamically display report for different student on selected index change of combo box? Help me friends. An example would be appreciable.

Crystal Report parameter value window.


 Hi friends,

   I am using Crystal report which displays the result of stroed procedure which have 2 paramater.

  When i run report it shows two window for getting each parameter.

  My need is, can i have one window for getting all the paramter value for stored procedure.


  With Advanced thanks,






Crystal Report gives System.AccessViolationException: Attempted to read or write protected memory. T


when a crystal report for same id is opened again at same time or refreshed then it gives the

"System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt."

Stack Trace is :-

Stack Trace:

[AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.]
CrystalDecisions.ReportAppServer.Controllers.DatabaseControllerClass.SetConnectionInfos(ConnectionInfos ConnectionInfos) +0
CrystalDecisions.CrystalReports.Engine.Table.ApplyLogOnInfo(TableLogOnInfo logonInfo) +362
CrystalDecisions.CrystalReports.Engine.ReportDocument.SetTableLogon(Tables tables, String user, String password, String server, String database, Boolean ignoreCase) +258
CrystalDecisions.CrystalReports.Engine.ReportDocument.SetDatabaseLogon(String user, String password, String server, String database, Boolean ignoreCase) +204
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend