Problem with reporting viewer

18 posts, 0 answers
  1. Cameron Molyneux
    Cameron Molyneux avatar
    79 posts
    Member since:
    Jan 2010

    Posted 06 Sep 2012 Link to this post

    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
  2. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 06 Sep 2012 Link to this post

    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.

  3. DevCraft banner
  4. Muhammad
    Muhammad avatar
    24 posts
    Member since:
    Mar 2012

    Posted 14 Sep 2012 Link to this post

    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.
  5. Cameron Molyneux
    Cameron Molyneux avatar
    79 posts
    Member since:
    Jan 2010

    Posted 14 Sep 2012 Link to this post

    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

  6. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 19 Sep 2012 Link to this post

    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 >

  7. Cameron Molyneux
    Cameron Molyneux avatar
    79 posts
    Member since:
    Jan 2010

    Posted 19 Sep 2012 Link to this post

    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
  8. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 19 Sep 2012 Link to this post

    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 >

  9. Cameron Molyneux
    Cameron Molyneux avatar
    79 posts
    Member since:
    Jan 2010

    Posted 27 Sep 2012 Link to this post

    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



  10. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 29 Sep 2012 Link to this post

    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 >

  11. Cameron Molyneux
    Cameron Molyneux avatar
    79 posts
    Member since:
    Jan 2010

    Posted 08 Oct 2012 Link to this post

    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
  12. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 09 Oct 2012 Link to this post

    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!

  13. VICTOR
    VICTOR avatar
    3 posts
    Member since:
    Oct 2012

    Posted 22 Oct 2012 Link to this post

    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.






  14. Cameron Molyneux
    Cameron Molyneux avatar
    79 posts
    Member since:
    Jan 2010

    Posted 22 Oct 2012 Link to this post

    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();
  15. VICTOR
    VICTOR avatar
    3 posts
    Member since:
    Oct 2012

    Posted 22 Oct 2012 Link to this post

    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.
  16. Cameron Molyneux
    Cameron Molyneux avatar
    79 posts
    Member since:
    Jan 2010

    Posted 22 Oct 2012 Link to this post

    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

  17. VICTOR
    VICTOR avatar
    3 posts
    Member since:
    Oct 2012

    Posted 22 Oct 2012 Link to this post

    Yes you're right, you get out me of the hole, and I appreciate a lot your help. Best wishes. =) 
  18. Gerardo Villegas
    Gerardo Villegas avatar
    3 posts
    Member since:
    Nov 2009

    Posted 18 Dec 2012 Link to this post

    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
  19. Cameron Molyneux
    Cameron Molyneux avatar
    79 posts
    Member since:
    Jan 2010

    Posted 18 Dec 2012 Link to this post

    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
Back to Top
DevCraft banner