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

Problem with reporting viewer

17 Answers 198 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Cameron Molyneux
Top achievements
Rank 1
Cameron Molyneux asked on 06 Sep 2012, 06:29 AM
Guys



I'm having a bit of problem getting the reporting viewer to work



I have a  child window with nothing but the reporting viewer control on it but when I create an instance of the window and show it I get the following error.



The type 'FormatedNumberConverter' was not found [Line:6 Position:36]



I'm using vs2012, the latest release of the reporting controls and 2012.2.607.1050 of the telerik controls (and using the metro theme)



Any clues? Hopefully its just something obvious



Cameron

17 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 06 Sep 2012, 07:48 AM
Hello Cameron,

Do you get the same error if you place the report viewer directly in a UserControl? Be aware that when using the Silverlight report viewer, you should use the corresponding RadControls for Silverlight version which would contain the respective template for the viewer. This information is available in the Silverlight Report Viewer System Requirements. So in case you're using Telerik Reporting Q2 2012 SP1, you should use version 2012.2.607.1040 of RadControls for Silverlight. You can find that version in the local examples folder e.g.: C:\Program Files (x86)\Telerik\Reporting Q2 2012\Examples\CSharp\SilverlightDemo\bin.

Greetings,
Steve
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Muhammad
Top achievements
Rank 1
answered on 14 Sep 2012, 11:34 AM
i have the same problem where i can findout the respective version(2012.2.607.1040 ) from telerik website.i uninstalled latest version of telerik silverlight .and now finding the the corresponding version.i have (Reporting Q2 2012) at the moment.
0
Cameron Molyneux
Top achievements
Rank 1
answered on 14 Sep 2012, 04:03 PM
i have RadControls_for_Silverlight5_2012_2_0725_Dev installed and
02279Telerik_Reporting_Q2_2012_build_6.1.12.823_DEV

can  you please tell me which reporting version is compatible with the 0725 dlls of the telerik controls ,we already have upgraded our solution to the latest version of telerik controls please tell us the corresponding version of reporting .regards

0
Steve
Telerik team
answered on 19 Sep 2012, 08:39 AM
Hello Cameron,

As Muhammad have found out correctly, the RadControls for Silverlight version shipped with the latest Telerik Reporting Q2 2012 SP1 is 2012.2.607.1040. If you're using the reporting internal build 6.1.12.823, please use the respective version shipped with it (can be found in C:\Program Files (x86)\Telerik\Reporting Q2 2012\Examples\CSharp\SilverlightDemo\bin).

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 >

0
Cameron Molyneux
Top achievements
Rank 1
answered on 19 Sep 2012, 08:48 AM
Thanks Steve



The issue I have is that the 'report viewer' control I am trying to build is in a solution with many other 'controls', this solution was upgraded to the latest version of the telerik controls to take advantage of some of the bug fixes and features the newer controls offer



Unfortunately, these means we can not use the report viewer?



Can you offer me some advice on a work around for this?



Cameron
0
Steve
Telerik team
answered on 19 Sep 2012, 08:53 AM
Hi Cameron,

The version of RadControls for Silverlight shipped with Telerik Reporting v.6.1.12.823 is 2012.2.823, which means it is newer than 2012.2.725 you're using. Thus it would contain the bug fixes from the older version.

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 >

0
Cameron Molyneux
Top achievements
Rank 1
answered on 27 Sep 2012, 12:56 PM
Steve



Sorry for the late reply, I have been working on something else but this is getting desperate for us now



I have installed on my PC 823 version of the reporting suite and inside the Silverlight example directory it references version 0607 version of the rad controls



We are running 0725 so we can not get the solution to work!!



I'm probably being daft but  this is really got me stuck



I cant downgrade the main Silverlight solution but need to plug in to a reporting viewer for out lists



0
Steve
Telerik team
answered on 29 Sep 2012, 05:05 PM
Hi Cameron,

Not sure how this could happen, as the version of RadControls for Silverlight distributed with the internal build is 2012.2.823.1040 (located in C:\Reporting_install_folder\Examples\CSharp\SilverlightDemo\bin). Checked on two different machines just to make sure I'm not mistaken. Can you check the version of Telerik.Reporting.dll in the internal build and let me know what version it is?

Still I just tested with the exact version you have reported 2012.2.725.1040 and the report viewer functions without any errors.

If you continue to have problems, please provide us with a runnable sample project in official support ticket and we would advise you once we review it.

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 >

0
Cameron Molyneux
Top achievements
Rank 1
answered on 08 Oct 2012, 02:03 PM
Hi Steve

Sorry again for the delay, as usual, other things crop up that need my attention

Anyways,  I have manage to replicate the issue and have created a dummy project which I have sent with a support ticket

It seems that its something to do with themes

If I use office black theme then it works, but if I use metro which is what our application wide theme is, it crashes

As I said, I have submitted a ticket with the example

Cam
0
Steve
Telerik team
answered on 09 Oct 2012, 11:55 AM
Hello Cameron,

Ok after your ticket with sample project (thank you) and the additional information about the themes, I can confirm that the problem exists with v. 2012.2.725.1040 of the RadControls for Silverlight. However the problem does not exist with the 2012.2.823.1040 version, which is shipped with the latest internal build and which was suggested by me from the several prior posts.

Greetings,
Steve
the Telerik team

HAPPY WITH TELERIK REPORTING? Do you feel that it is fantastic? Or easy to use? Or better than Crystal Reports? Tell the world, and help fellow developers! Write a short review about Telerik Reporting and Telerik Report Designer in Visual Studio Gallery today!

0
VICTOR
Top achievements
Rank 1
answered on 22 Oct 2012, 06:02 PM
Hi telerik team.
I have a silverlight application where  I'm facing the same problem and I Have been several days trying to find a soluction.

Actually the samples installed with the telerik reporting trial works fine, the problem comes when I want to use the telerik viewer in a
mvvm and prism solution, I have been using the telerik radcontrols version 2012.2.607.1050 and the telerik reporting  version 6.2.12.1017.

The installed example works fine using radcontrols versions 2012.3.1017.1050(included by default) and 2012.2.607.1050 (my version product, ) and telerik reporting 6.2.12.1017 (the trial version I'm trying).

The libraries of RadControls are always the same version.

And Always I get the message The type 'FormatedNumberConverter' was not found [Line:6 Position:36]

Any help please.






0
Cameron Molyneux
Top achievements
Rank 1
answered on 22 Oct 2012, 06:08 PM
Victor

We found the issue relates to themes

We were using the metro theme (also the windows7 theme has the same issue)

What we did was that in the view that has the reportviewer we switched the theme before the initialisecomponant call and then switched back afterwards

it seems to work for us

 Telerik.Windows.Controls.StyleManager.ApplicationTheme = new Office_BlackTheme();
 InitializeComponent();
 Telerik.Windows.Controls.StyleManager.ApplicationTheme = new MetroTheme();
0
VICTOR
Top achievements
Rank 1
answered on 22 Oct 2012, 06:43 PM
Hi cameron.
Thank you very much, I have test the lines of code you provide me and I can confirm the issues referents to the themes
the line Telerik.Windows.Controls.StyleManager.ApplicationTheme = new MetroTheme();  crash me, but if exclude it I can at least run the applicacion using the theme Office_BlackTheme and I can see the report viewer.
 Now I will try to find a solution to set my theme.

See you and Thank you for your help, I hope telerik team can find another solution cuz i don't like the idea of put code inside my codebehind of my view.
0
Cameron Molyneux
Top achievements
Rank 1
answered on 22 Oct 2012, 06:47 PM
Agreed its not  the most elegant solution but it helped us get out of a 'hole'.  I've yet to revisit the code try and get it done correctly

0
VICTOR
Top achievements
Rank 1
answered on 22 Oct 2012, 07:36 PM
Yes you're right, you get out me of the hole, and I appreciate a lot your help. Best wishes. =) 
0
Gerardo
Top achievements
Rank 1
answered on 18 Dec 2012, 05:28 PM
Hi Steve, Cameron and Victor,

I have the same problem and I put this before Initializecomponent()
Telerik.Windows.Controls.StyleManager.ApplicationTheme = new Office_BlackTheme();
InitializeComponent();

The report can show but when I open another View the Theme now es Office_Black.
I´m using Telerik Reporting Q3 2012.

Regards,

Gerardo
0
Cameron Molyneux
Top achievements
Rank 1
answered on 19 Dec 2012, 05:09 AM
Gerado

Make sure that after the initialiseComponant() you set the theme back to your normal theme, this way, on the the reporting view will use the black theme

Hope this helps
Cameron
Tags
General Discussions
Asked by
Cameron Molyneux
Top achievements
Rank 1
Answers by
Steve
Telerik team
Muhammad
Top achievements
Rank 1
Cameron Molyneux
Top achievements
Rank 1
VICTOR
Top achievements
Rank 1
Gerardo
Top achievements
Rank 1
Share this question
or