This is a migrated thread and some comments may be shown as answers.

How to show first pages faster

3 Answers 202 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
demos papadopoulos
Top achievements
Rank 1
demos papadopoulos asked on 30 Jun 2009, 01:40 PM
Hi,
I am on a try basis .I like your reporting tool and as I test it I find myself wondering how to solve one problem.I am an Oracle programmer
and I am trying to write a three tier application for my customers and I am looking for a reporting tool.Yours seems to cover my  needs.
Basically I have one question.Since my customers are used to Oracle reporting I would like the same with your tool.
What I mean is this, all the data will be processed by me into a dataset or datatable locally since my application is not connected direct
to the database but a middle server that sends the data in a format my client understands and inserts into the dataset/datatable.
Once the client has the dataset calls your object like

        report.DataSource = tempDT
        reportViewer.Report = report
        reportForm.Show()
        reportForm.Controls.Add(reportViewer)
        reportViewer.RefreshReport()

I made a project using Telerik reporting that works.It reads a file, creates a dataset of 1511 records which represent 37 pages,
it  takes 15 secs for first page to show on the form  and 10 for rendering the rest.
If my report gets bigger the time grows.What i would like to know if there is a way just like Oracle reports (usually the first page comes
very fast and then if I choose it does the rest) to be able to get the first page very quickly since I prepare the pages in order in mydataset and I do not need ordering or sorting .
If you can show some example of pure data already in the memory of dataset or datatable and manipulate in such a way I show the first page and later I load the rest of the report if I want.This will help me in choozing your product.

thanks in advance

I am sure you are busy , but since I am on trial version time and I would like to test your suggestions
I will appriciate your quick answer because this issue will make us decide to buy your product

Thanks again
 
  

3 Answers, 1 is accepted

Sort by
0
Svetoslav
Telerik team
answered on 02 Jul 2009, 05:02 PM
Hi demos papadopoulos,

Thank you for your question.

Before going deeper in the discussion, we would like to ask you the new version of Telerik Reporting - 2009 Q2, which we released just today. We have made some performance improvements that, depending on your report, can speed up the report generation twice. Please, give it a spin and let us know what the result is.

Thanks in advance.
 

All the best,
Svetoslav
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
demos papadopoulos
Top achievements
Rank 1
answered on 02 Jul 2009, 09:10 PM
THANK YOU FOR YOUR QUICK REPLY.
I TESTED YOUR NEW VERSION I JUST DOWNLOADED.
I SEE THE PERFORMANCE INCREASED.I GET 1511 RECORDS 37 PAGES IN 17 SEC
YOUR ENGINE TAKES 12 SECS FOR COUNTING PAGES AND 5 TO RENDER THEM ON THE SCREEN
SPEED IS EXCEPTABLE BUT IF I HAVE A REPORT OF 200 PAGES OR MORE IT WILL TAKE TOO LONG FOR ME TO SEE
THE FIRST PAGE.FOR EXAMPLE A SIMPLE REPORT OF 20000 CUSTOMERS FIRST NAME,LAST NAME,TELEPHONE NUMBER,
I ALREADY HAVE ORDER THEM IN MY DATASET NO NEED FOR ANY SORTING AND I WANT A REPORT WITH 3 COLUMNS.
THE FIRST PAGE CAN COME FIRST AND THEN IF I WANT THE OTHER ONES.IF I RUN THE REPORT FOR 30 RECORDS
ONE PAGE SHOWS UP WITH 3 SECS.HOW CAN I GET THE SAME RESULT FOR A REPORT WITH 100 PAGES I WANT
THE FIRST PAGE TO SHOW AS SOON AS THE ENGINE READS THE DATA SINCE THERE IS NO NEED FOR CALCULATION OR
 SORTING .THE RENDERING FOR 100 PAGES IS FAST ENOUGH BUT IF I SEE THE FIRST PAGE SOMETIMES IS ENOUGH.
IF YOU HAVE ANY SUGGESTIONS I WILL APPRECIATE IT. IF YOU HAVE AN IDEA OF ORACLE REPORTS YOU UNDERSTAND
WHAT I AM ASKING SINCE THATS WHAT I AM TRYING TO REPLACE. ALTHOUGH  I CAN FINISH 100 PAGES FASTER WITH
TELERIK REPORT THE USER GETS DECEIVED BY THE FAST FIRST PAGE THAT ORACLE REPORTS SHOW AND SOMETIMES
THE FIRST PAGE IS ENOUGH.

THANKS AGAIN
PLEASE HELP ME SO I CAN DECIDE ON YOUR PRODUCT

BY THE WAY I LIKE YOUR SUPPORT ALOT I SEE THE WAY YOU REPLY TO OTHERS IN THE FORUMS

0
Accepted
Steve
Telerik team
answered on 06 Jul 2009, 01:07 PM
Hi demos,

Thank you for the nice words and elaborating on your inquiry. We're also glad that you find the performance has improved in the new version. Unfortunately there is no way to achieve the described behavior i.e. show the first page immediately before counting all of the pages. In fact we do not "know" which is the first page until the counting has finished. If you're using the PageCount global object, this would additionally slow down the processing and rendering of the report as an additional pass is required for the page count. Removing it, would improve the overall performance of the report. 

Best wishes,
Steve
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
General Discussions
Asked by
demos papadopoulos
Top achievements
Rank 1
Answers by
Svetoslav
Telerik team
demos papadopoulos
Top achievements
Rank 1
Steve
Telerik team
Share this question
or