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

report viewer show only 2 pages

2 Answers 68 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Ricardo
Top achievements
Rank 1
Ricardo asked on 01 Apr 2013, 08:05 PM
Hi, 

I'm consulting a table from my DB with 500 registers, but in my report viewer only show 2 pages. How I can configure to my report viewer show all items?

I'ts my source code:


        private void carregareRelatorio()
        {
            Telerik.Reporting.UriReportSource uriReportSource = new Telerik.Reporting.UriReportSource();

            uriReportSource.Parameters.Add("Empresa", Session["Empresa"]);
            uriReportSource.Parameters.Add("Status", Session["Status"]);
            uriReportSource.Parameters.Add("DataInicial", Session["DataInicial"]);
            uriReportSource.Parameters.Add("DataFinal", Session["DataFinal"]);
            uriReportSource.Uri = "RelatorioBeneficiarios.trdx";

            rwBeneficiarios.ReportSource = uriReportSource;
        }

2 Answers, 1 is accepted

Sort by
0
Hrisi
Telerik team
answered on 04 Apr 2013, 02:58 PM
Hi Ricardo,

You saw the db contains 500 records, but in the report most probably you use the query with parameters. Can you run this query with the parameters you provide to the report?. How many records does the query return?

If you share with us the query, maybe we can advise you further. 

Greetings,
Hrisi
the Telerik team

Have you tried the new visualization options in Telerik Reporting Q1 2013? You can get them from your account.

0
Ricardo
Top achievements
Rank 1
answered on 04 Apr 2013, 04:32 PM
Hi Hrisi , 

Thanks for your answer, I found the problem. I was passing the wrong parameters in my query, after fix it my query it's possible return all records from my db. 

Thanks! 
Tags
General Discussions
Asked by
Ricardo
Top achievements
Rank 1
Answers by
Hrisi
Telerik team
Ricardo
Top achievements
Rank 1
Share this question
or