Print Page | Close Window

lastnavigtion click event problem in dynamic repor

Printed From: Crystal Reports Book
Category: Crystal Reports 9 through 2020
Forum Name: Tips and Tricks
Forum Discription: Have you learned some great tricks to share with the group? Post them here!
URL: http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=10775
Printed Date: 18 May 2024 at 4:06am


Topic: lastnavigtion click event problem in dynamic repor
Posted By: venkatrao
Subject: lastnavigtion click event problem in dynamic repor
Date Posted: 08 Aug 2010 at 9:18pm
hi friends,

I implemented the dynamic report based on button click event and passing parameters to stored procedure and fill the dataset and bind data set to crystal report .

If implementing that concept in page load event all events are raised normally. But when i implementing that in button click then i handle all events separately and bind to crystal report .

 My problem is when i click the navigation buttons all buttons are working fine but last record button click i got  error.Is there any way to solve this problem.

I wrote code for navigation event like this

   protected void CrystalReportViewer1_Navigate(object source,     CrystalDecisions.Web.NavigateEventArgs e)
            {
                report_data();
            }

its working fine for all buttons without lastrecord navigation button

How to solve this problem . Please help me its urgent .

thanks and regards,
venkat



Print Page | Close Window