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

Evaluating Report tool for WPF

9 Answers 83 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Cedric
Top achievements
Rank 1
Cedric asked on 29 Jan 2019, 02:12 PM

Hello,

I'm in charge to evaluate the component Report tool for wpf for an integration in our product.

I'm confident to produce standard reporting elements but in the reports we want to edit, we should be able to reproduce a grid like the ones attached in this post.

Is it easily possible with your component ? I don't want to have to draw a grid line by line as it will be necessary with raw pdf technology.

Regards,

Cédric

 

9 Answers, 1 is accepted

Sort by
0
Todor
Telerik team
answered on 01 Feb 2019, 11:18 AM
Hi Cédric,

The general layout of the reports as seen from the screenshots is easily achievable with Crosstab item. In the table cells you may place PictureBoxes, TextBoxes, Panel (i.e. container for more report items) or other nested data items (e.g. Graph, other Table), etc. In the Crosstab there is row grouping and column grouping by default to dynamically generate row/columns in the table based on the received data. Table cells may also be merged.
In one of the screenshots, I noticed merging of only some of the table cells. Generally, table cells can be merged in the report definition. In some conditions, it may be possible to merge cells also based on the incoming data. Bindings and Conditional Formatting may be very useful in this case.

We provide out of the box a WPF Report Viewer for displaying our reports in a WPF application.

The best way to evaluate our product will be to download our fully functional Trial version. It comes with free Support for the period of evaluation so we would be able to help and guide you.

Regards,
Todor
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Cedric
Top achievements
Rank 1
answered on 01 Feb 2019, 12:38 PM

Hi Todor,

I have followed your advice and downloaded the trial version. I will start by examining the demos and made a try with the crosstab.

Thanks for your recommendations

Regards

Cédric

0
Cedric
Top achievements
Rank 1
answered on 04 Feb 2019, 01:31 PM

I will post my question in this thread to not pollute the forums with all my problems.

First, the wpf component reportviewer is not enabled in my solution :(
During the installation of the trial, i first unchecked the 'visual studio integration' because in general i prefer to keep my visual studio installation as light as possible, but may be it's reason of my problem.

I've added the following reference to my project: Telerik.Reporting.dll, Telerik.Reporting.Wpf.dll and Telerik.ReportViewer.Wpf.Themes (all 3 are pointing on the 2019 trial installation)

But when in my Xaml, i start to write

<telerik:RadReport

or <telerik:Report the intellisense finds nothing.

There are already some telerik components on the test window but they are 2017 Telerik IU for wpf and the namespace currently declared is this one: xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"         

So, i made a try by using the Component Toolbox, but of course because of my choice during the installation, no telerik's components are registered. So i restart the Telerik Reporting installer and check the 'visual studio integration', but the toolbox stay empty.
So, i try to follow the procedure written there : https://docs.telerik.com/reporting/wpf-report-viewer-manual-setup#how-to-add-the-wpf-reportviewer-to-the-toolbox
But, the Telerik.ReportViewer.Wpf assembly is not listed in the components (i can see all the telerik UI for wpf ones but none for reporting). If i try to use the Browse  button to select the Telerik.ReportViewer.Wpf in my fresh installation of TelerikReporting, i have an error message saying :'There are no components in 'C:\Program Files (x86)\Progress\Telerik Reporting R1 2019\Bin\Telerik.ReportViewer.Wpf.dll' that can be placed on the toolbox.'

Ok it seems i have messed up my installation or there's something i don't understand.

What can i do ?

 

Regards,
Cédric Connes

0
Cedric
Top achievements
Rank 1
answered on 04 Feb 2019, 01:51 PM

It'seems i have a conflict between the 2017 UI For WPF  and the 2019 Reporting dll : when i run the application i have an error saying : Inner Exception 1:
FileLoadException: Impossible de charger le fichier ou l'assembly 'Telerik.Windows.Controls.Navigation, Version=2019.1.116.40, Culture=neutral, PublicKeyToken=5803cfa389c90ce7' ou une de ses dépendances. La définition trouvée du manifeste de l'assembly ne correspond pas à la référence de l'assembly. (Exception de HRESULT : 0x80131040)'

Is it possible to test the 2019 reporting without migrate the all the application ?

Regards,
Cédric
0
Cedric
Top achievements
Rank 1
answered on 04 Feb 2019, 05:41 PM

Hi,
I did not manage to find usefull samples explaining how to use reporting with WPF and of course in a mvvm manner.

Can you provide me some urls ?
My first test is to construct a report using CrossTab as recommended by Todor and bind it to the business object used in the screenshot i provided in my initial post and i didn't get it

Regards

Cédric

0
Todor
Telerik team
answered on 06 Feb 2019, 11:33 AM
Hello Cédric,

Indeed, Telerik Reporting WPF Viewer should be used with the corresponding version of Telerik UI for WPF. This is a must - check our Upgrade Path for R1 2019. Note that the WPF viewer is built with Telerik UI Controls for WPF 2019.1.116.40. It is *not* possible to use the WPF viewer with an older version of Telerik UI for WPF.

For the MVVM scenario, I suggest the Using the WPF Report Viewer in an MVVM scenario KB article.
Another sample and more details may be found also in the Reporting WPF MVVM Sample forum post.

You may open a support ticket and send the particular project/business object so that we try to bind it to a data item (e.g. Crosstab) and suggest a more specific solution or workaround.

Regards,
Todor
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Cedric
Top achievements
Rank 1
answered on 07 Feb 2019, 01:00 PM

Hi Todor,

Thanks for all these informations, they are a big help.
I have noted that Telerik Reporting must be used with the corresponding version of UI for WPF which is a problem because this force to upgrade the both component at the same time which double the regression tests. What's happen when one of the licence will be ended before the other ?
Thanks again for the two links: they make me realize that the report itself is not 'NotifyPropertyChanged' compliant. It' clearer for me now.
I will try to provide you a small project for the test with the crosstab.

Thanks for your help

Cédric

0
Todor
Telerik team
answered on 12 Feb 2019, 09:47 AM
Hi Cédric,

Indeed, the report is just a definition of the report design. It is not meant to be 'NotifyPropertyChanged' compliant. Note that most of the WPF Report Viewer properties will raise property changed.
Our WPF Viewer uses components and themes from Telerik UI for WPF. They can be used without an additional fee only for the purposes of the viewer. The necessary assemblies can be found in our WPF demo folder - Telerik Reporting installation folder)\Examples\CSharp\WpfDemo\bin (e.g. C:\Program Files (x86)\Progress\Telerik Reporting R1 2019\Examples\CSharp\WpfDemo\bin).
You may consider one of our product Bundles that includes both the Reporting tool and the UI for WPF.

Regards,
Todor
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Cedric
Top achievements
Rank 1
answered on 13 Feb 2019, 05:19 PM

Thanks for the information about the bundle

 

Regards

Cédric Connes

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