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

Report I created is playing hide-and-seek like a chamaleon with a blind man

1 Answer 17 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Clay
Top achievements
Rank 1
Clay asked on 10 Apr 2013, 08:38 PM
I'm playing along with TelerikReporting-LearningGuide.pdf.

I've created a class library and am trying to create the Report Viewer app.

It's a Windows Forms app; I had to change from targeting .NET 4 Client to .NET 4 for the Telerik Reporting Q1 2013 controls to display in the Toolbox (I first tried using a Visual-Studio native ReportViewer control, as the tutorial simply says "ReportViewer," and doesn't specify that it means the Telerik ReportViewer.

I added the class library I created previously in the tutorial to my project References.

Anyway, I drop the Telerik ReportViewer on a form, and locate its Report.ReportSource property. It invokes the "Load a Report From ..." dialog that gives me options of URL or file, Type name, Object instance, or XML markup. I tried both "URL or file" and "Type name" but neither of them want to accept the .dll that I already added as a reference.

Of course, that makes sense, because it doesn't make sense I would have to add the class library/.DLL as a project reference AND then choose it as the report. But what *am* I supposed to choose? I searched my hard drive for *.tr* in Windows Explorer, and the only "trdx" files it finds are 9 that come with the Telerik download.

The tutorial is a little long in the tooth (2008), but I couldn't find an updated version of it. Am I missing something because the process has changed, or...???

1 Answer, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 15 Apr 2013, 01:19 PM
Hello Clay,

We are aware that the tutorial is a bit outdated. This is why we don't recommend it. Instead our suggestion is to use the documentation that is always up to date. Our suggestion is to review the Windows Forms Application help article. Additionally you may find useful the examples that came with your installation of Telerik Reporting. 

Generally after adding reference to the reports' class library you have to rebuild the report viewer project, select the report viewer, invoke the ReportSource dialog, now in your case you have two options Type Name and Object Instance, after selection one of them you should see the available reports in Select Report Document dialog that you can invoke from the drop down.

Greetings,
Peter
the Telerik team

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

Tags
General Discussions
Asked by
Clay
Top achievements
Rank 1
Answers by
Peter
Telerik team
Share this question
or