RE: Page Count

      Don,

      Is there no way to get a page count of a report without going to the last page first?  The only way I see to get a page count is to execute the gotolast pages method and get the page number from there.  Not a better way because that actually takes forever on some of my reports because sub reports seems to be so slow in the .net version.

      Thanks

      Chris

      Hi Chris,   Try this:   tbTotalPageCount.Text = rpt.FormatEngine.GetLastPageNumber(new ReportPageRequestContext()).ToString();   Don

      User Rating: Be the first one !
      Add Comment
      1 Answers

        Hi Chris,

         

        Try this:

         

        tbTotalPageCount.Text = rpt.FormatEngine.GetLastPageNumber(new ReportPageRequestContext()).ToString();

         

        Don

        Add Comment

        Your Answer

        By posting your answer, you agree to the privacy policy and terms of service.