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

Navigation Group controls are disabled in Web Viewer

3 Answers 84 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Jean
Top achievements
Rank 1
Jean asked on 03 Feb 2012, 02:51 AM
I have a basic proof-of-concept ASP.NET Web project set up as recommended with separate class library for reports.

On my web page, I am rendering the report with the following code:

System.Data.DataTable dt = new MyDataClass.GetReport();
ReportClassLibrary.Report1 r1 = new ReportClassLibrary.Report1();
r1.DataSource = dt;
ReportViewer1.Report = r1;

The problem I am having is with the Navigation Group in the Web Viewer.  All the controls (first, previous, next and last) are all disabled and the text box shows page "0" of 2.

I tried three different combinations here including a DataSet, DataTable and DataView, with the same results.

What have I missed here?

3 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 03 Feb 2012, 04:26 PM
Hi Jean,

We have not been able to reproduce such a problem in our local tests and would appreciate if you provide us with a sample project in your ticket that replicates the issue. Once we review it, we would be able to advise you accordingly.

All the best,
Steve
the Telerik team

Q3’11 of Telerik Reporting is available for download. Register for the What's New in Data Tools webinar to see what's new and get a chance to WIN A FREE LICENSE!

0
Jean
Top achievements
Rank 1
answered on 03 Feb 2012, 06:22 PM
Embarrassingly enough, I was not able to replicate this either.  I created another application to zip/email to you and it worked just perfectly.  I could not determine what was wrong with my original application but deleting and re-creating the Master page (with the same exact code) make the original application work correctly as well.

Thank you for your prompt response.
0
Jean
Top achievements
Rank 1
answered on 03 Feb 2012, 07:24 PM
It should come as no surprise that I have since detected the code difference between the two projects that made all the difference.

The problem manifests itself when I had a Page Directive of ClientIDMode="Static"

Removing that code from the Page caused the navigation controls to function correctly.
Tags
General Discussions
Asked by
Jean
Top achievements
Rank 1
Answers by
Steve
Telerik team
Jean
Top achievements
Rank 1
Share this question
or