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

Page Number display in reports

12 Answers 841 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Saranya
Top achievements
Rank 2
Saranya asked on 18 Aug 2009, 06:00 AM
Hi,

I am using Telerik Reporting Q1 2008. Dll version - 2.5.8.414

There are many pages in the report.

The first page page number is displaying - Page 1 of 0.

From the second page onwards, the display is correct. i.e Page 2 of 24, Page 3 of 24 and so on.

= PageNumber + ' of ' + PageCount is what I am using as footer text.

How to rectify Page 1 of 0 error.

Thanks.
Saranya

12 Answers, 1 is accepted

Sort by
0
Hrisi
Telerik team
answered on 19 Aug 2009, 03:38 PM
Hi Saranya,

You can resolve the problem by upgrading to the latest version - Telerik Reporting Q2 2009 SP1.

Regards,
Hrisi
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
Saranya
Top achievements
Rank 2
answered on 01 Oct 2009, 05:57 AM
Hi,

I upgraded to latest telerik version Q2 2009 SP 1. But when I remove my old dll for telerik.reporting and add new Telerik.Reporting.dll as reference to the reporting project, I am getting these kind of errors.

1. The type 'Telerik.Reporting.Processing.TextBox' exists in both 'c:\Program Files\telerik\Reporting Q2 2009\Bin\Telerik.Reporting.dll' and 'c:\Program Files\telerik\Reporting Q1 2008\Bin\Telerik.Reporting.Processing.dll'
2. Property or indexer 'Telerik.Reporting.Processing.TextBox.Text' cannot be assigned to -- it is read only

If I use my old dll (2.5.8.414) I am not getting any kind of errors like this. What to do?

Regards,
Saranya
0
Steve
Telerik team
answered on 01 Oct 2009, 11:37 AM
Hello Saranya,

Both errors are due to changes in Telerik Reporting:
  • The error message is pretty clear. We have reduced the number of assemblies since Q2 2009 and now there is no Telerik.Reporting.Processing.dll anymore - it is merged into Telerik.Reporting.dll. If you're getting this error, it means that you have not removed old reporting references - note that you should reference only Q2 SP1 assemblies (version 3.1.9.807) and also make sure you do not have old assemblies in the bin folder of your web application.
  • This error message is correct as well. The textBox.Text property cannot be assigned to because it no longer has a setter - please use the Value property instead. The Value property would contain the expression you have set, while the Text property would contain the result of that evaluated expression (i.e. read only).

Greetings,
Steve
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Siva
Top achievements
Rank 1
answered on 28 Jun 2012, 02:01 PM
Hi steve, i am using telerik_reporting_Q3_2011_v5, i also got same error like page 1 of 0 , page 3 of 0 how to resolve this issue, 

and i want display the page numbers from 3rd page, like 1st nad 2nd pages shows nothing from 3rd page shows like 3 of 10 and 4th page like 4 of 10.

can you please give me solution for this issue, thanks in advance
0
Steve
Telerik team
answered on 28 Jun 2012, 02:18 PM
Hello Siva,

Upgrade to Q3 2011 SP1 or later where this problem has been fixed.

Regards,
Steve
the Telerik team

FREE WEBINAR ON THE NEW REPORT DESIGNER! Join us on Friday, June 29 at 10:00 AM PST for a comprehensive demo of the official version of the standalone Report Designer and find out how easy it is to empower your users with creating, editing and sharing ad-hoc reports. You may even win a free Telerik Ultimate Collection license! Register today >>

0
Siva
Top achievements
Rank 1
answered on 28 Jun 2012, 05:13 PM
Thanks Steve, i upgrade my reports to Q3 2011 SP1,  0 error is resolved , can u give me the solution for 2 issues also

here is the issue: i want display the page numbers from 3rd page, like 1st nad 2nd pages shows nothing,from 3rd page shows like 3 of 10 and 4th page like 4 of 10. 

Thanks in Advance
0
Siva
Top achievements
Rank 1
answered on 29 Jun 2012, 01:09 PM
Thanks Steve After Upgrade the reporting version,  Issue is resolved.
but i got bunch of warnings on report like :
Warning 2 'Telerik.Reporting.Data.Filter' is obsolete: 'Class Telerik.Reporting.Data.Filter is now obsolete. Please use Telerik.Reporting.Filter instead.'

Can i replace with "Telerik.Reporting.Filter" like warning mentioned, 

Thanks in Advance 



0
Elian
Telerik team
answered on 02 Jul 2012, 01:58 PM
Hello Siva,

For the pages you can use an expression like this:
= IIF(PageNumber<3, "", "Pages " + PageNumber + " of " + PageCount)

As to the filter, you should be able to change your report to use the new Filter class with no problems. 
 
Kind regards,
Elian
the Telerik team

BLOGGERS WANTED! Write a review about Telerik Reporting or the new Report Designer, post it on your blog and get a complimentary license for Telerik Reporting. We’ll even promote your blog and help bring you a few fresh readers. Yes, it’s that simple. And it’s free. Get started today >

0
Siva
Top achievements
Rank 1
answered on 09 Jul 2012, 02:45 PM
thanks for U r solution, 1st solution is working fine but as per 2nd solution i didn't understand how to use the new filter.
can u explain briefly
i got like this :
 formattingRule1.Filters.AddRange(new Telerik.Reporting.Data.Filter[] {
        new Telerik.Reporting.Data.Filter("=Fields.ERROR_FINDING_DESC", Telerik.Reporting.Data.FilterOperator.NotEqual, "= \" \"")});

at Bold Letters fields got the warning like:
'Telerik.Reporting.Data.Filter' is obsolete: 'Class Telerik.Reporting.Data.Filter is now obsolete. Please use Telerik.Reporting.Filter instead.' 

thanks in Advance.
0
Steve
Telerik team
answered on 09 Jul 2012, 03:09 PM
Hello Siva,

Delete the "Data" part from the code i.e.:

Telerik.Reporting.Data.Filter

should be

Telerik.Reporting.Filter

All the best,
Steve
the Telerik team

BLOGGERS WANTED! Write a review about Telerik Reporting or the new Report Designer, post it on your blog and get a complimentary license for Telerik Reporting. We’ll even promote your blog and help bring you a few fresh readers. Yes, it’s that simple. And it’s free. Get started today >

0
Siva
Top achievements
Rank 1
answered on 09 Jul 2012, 06:16 PM
thanks Steve u r solution working fine for me. but i couldn't resolve the warning for subreport report data sources.
Do u have any Solution for theses also:
Warning 1 'Telerik.Reporting.SubReport.Parameters' is obsolete: 'The Parameters property is now obsolete. Please use the ReportSource.Parameters property instead.'


Thanks in Advance
Siva
0
Steve
Telerik team
answered on 12 Jul 2012, 03:51 PM
Hello Siva,

The warning message is pretty straight-forward. If you place a SubReport item in a report you would notice it no longer has a Parameters property. The Parameters property is now moved to the ReportSource, so select a report source for the SubReport item and you would be able to setup parameters as well for that report source (see screenshot).

Kind regards,
Steve
the Telerik team

BLOGGERS WANTED! Write a review about Telerik Reporting or the new Report Designer, post it on your blog and get a complimentary license for Telerik Reporting. We’ll even promote your blog and help bring you a few fresh readers. Yes, it’s that simple. And it’s free. Get started today >

Tags
General Discussions
Asked by
Saranya
Top achievements
Rank 2
Answers by
Hrisi
Telerik team
Saranya
Top achievements
Rank 2
Steve
Telerik team
Siva
Top achievements
Rank 1
Elian
Telerik team
Share this question
or