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

Getting started with Reporting in VS/WPF

7 Answers 104 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Randy
Top achievements
Rank 1
Randy asked on 22 Feb 2014, 01:03 AM
I need help getting started with Telerik Reporting. I‘ve read the documentation and I understand
almost everything except how to get started in Visual Studio. I would like to use the VS designer, and
integrate the report into my WPF application, using VS 2013. I understand I should be able to create
classes inside a reporting project, but how do I start this project? I tried creating a Telerik Reporting
application, but it creates a WinForms application that doesn’t seem to do what
I need.

There is documentation on the Integrated Reports designer in
VS, but the very first line of the documentation says “Double click on the
Report.cs file” – where is this file, and how is it created??? It also mentions to click on the Telerik Menu
-> Reporting, but all I ever see is Upgrade Wizard. The documentation says other options will
appear when the designer has focus, but How do I find the Designer??? This is very frustrating when you can’t get
past square one.

I am using Telerik UI for WPF version 2013.2.724.40, and Reports version 7.1.13.802. I’ve successfully added
references to my project, and binding redirects to allow the libs to load. I’ve also added a report viewer control to my
WPF UI. What I need help with is starting the designer in Visual studio, and how to create the report classes.

Thanks,

Randy

7 Answers, 1 is accepted

Sort by
0
Squall
Top achievements
Rank 1
answered on 24 Feb 2014, 01:56 PM
0
Randy
Top achievements
Rank 1
answered on 24 Feb 2014, 03:57 PM
Thanks for your response.  I had tried this method, and when I added a class library, I chose Reporting -> "Reports Application", because that was the only choice under Reporting.  It turns out this is a Microsoft reports application template, nothing to do with Telerik.  There is no option to create a Telerik Reporting class lib.  Guess I'll try uninstalling and re-installing Telerik Reports?  I do have the Telik menu in the VS user interface, so I know it is currently installed.

Thanks,
Randy
0
Randy
Top achievements
Rank 1
answered on 24 Feb 2014, 05:14 PM
Okay, I've tried uninstalling and re-installing Telerik Reporting, and still there is no template appearing in the New Project or Add Item dialog.  Anyone have any ideas on how to get this class lib template to show up?

Thanks,
Randy
0
Randy
Top achievements
Rank 1
answered on 24 Feb 2014, 05:18 PM
Okay, I finally found it.  Sorry I was looking from the perspective of adding a new project, and looking for the Telerik reporting template there.  Apparently it doesn't appear until you have already created a class lib, and are then adding a new item to that.
0
Randy
Top achievements
Rank 1
answered on 24 Feb 2014, 05:29 PM
Now I'm seeing this error when I actually try to add the report item to my project:

The designer could not be shown for this file because none of the classes within
it can be designed. The designer inspected the following classes in the file:
Proposal1 --- The base class 'System.Object' cannot be designed.
 
Instances of this error (1)

1. Hide Call Stack

at System.ComponentModel.Design.Serialization.CodeDomDesignerLoader.EnsureDocument(IDesignerSerializationManager
manager) at System.ComponentModel.Design.Serialization.CodeDomDesignerLoader.PerformLoad(IDesignerSerializationManager
manager) at Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoader.PerformLoad(IDesignerSerializationManager
serializationManager)
at
Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoader.DeferredLoadHandler.Microsoft.VisualStudio.TextManager.Interop.IVsTextBufferDataEvents.OnLoadCompleted(Int32
fReload) 




0
Stef
Telerik team
answered on 26 Feb 2014, 10:42 AM
Hi Randy,

Please verify the project targets .NET 4+ framework, Full Profile. For more details check our System Requirements page.

Regards,
Stef
Telerik

New HTML5/JS REPORT VIEWER with MOBILE AND TOUCH SUPPORT available in Telerik Reporting Q3 2013! Get the new Reporting version from your account or download a trial.

0
Randy
Top achievements
Rank 1
answered on 26 Feb 2014, 04:12 PM
Thanks for your reply.  I did find and fix the root cause.  It was simply due to the name I chose for my project.  I chose the name Schilling.Reporting.Telerik, and that apparently caused some kind of namespace conflict.  Changing it to Schilling.Reporting, seemed to fix the issue.
Tags
General Discussions
Asked by
Randy
Top achievements
Rank 1
Answers by
Squall
Top achievements
Rank 1
Randy
Top achievements
Rank 1
Stef
Telerik team
Share this question
or