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

The tag 'ReportViewer' does not exist in XML namespace ...

6 Answers 662 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Alexandre
Top achievements
Rank 1
Alexandre asked on 01 Oct 2010, 04:43 PM
Hey All,

  i am trying to use the Silverlight ReportViewer but I am getting a 'very nice' error on the compiling time: "The tag 'ReportViewer' does not exist in XML namespace 'clr-namespace:Telerik.ReportViewer.Silverlight;assembly=Telerik.ReportViewer.Silverlight'."

   I am sure that I have all the assemblies references added. I got the instructions from the TelerikTV: http://tv.telerik.com/watch/reporting/video/telerik-reporting-getting-started-with-silverlight-report-viewer
  
  Funny is that after write the code below, on the design window, I can see the ReportViewer component, but when I compile the code i am getting this error...

   My configuration:
- VS 2010 RTM.
- Project is in Silverlight 4 using .NET 3.5
-Telerik.ReportViewer.Silverlight.dll version 4.1.10.921

<UserControl x:Class="SilverlightApplication3.MainPage"
    xmlns:telerik="clr-namespace:Telerik.ReportViewer.Silverlight;assembly=Telerik.ReportViewer.Silverlight"
               
    mc:Ignorable="d"
    d:DesignHeight="300" d:DesignWidth="400">
  
    <Grid x:Name="LayoutRoot" Background="White">
        <telerik:ReportViewer x:Name="Report001"/>
    </Grid>
</UserControl>


Any Ideas?

Tks

Alex

6 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 04 Oct 2010, 12:01 PM
Hi Alexandre,

We've seen this error whenever the target framework is .NET 4 Client profile, which is not supported by Telerik Reporting, but this should not be your case, since you're using Silverlight project. You also state that you have followed the instructions from the video and added all necessary references, so without looking at your project we can only guess what is wrong.
What you can do is open our Visual Studio examples and compare your project with the sample Silverlight application. You can also review our instructions in the documentation: Assign report to the Silverlight viewer. If you're unable to pinpoint the problem, please open a support ticket and attach a sample project that shows the problem and we would be able to advise you accordingly.

Greetings,
Steve
the Telerik team
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 Public Issue Tracking system and vote to affect the priority of the items
0
Alexandre
Top achievements
Rank 1
answered on 05 Oct 2010, 05:01 PM
Hi Steve.

  I don't think is something wrong with my project because i could open it on another machine. I even try to create a new project with nothing but the silverlight control - with the same error. 
  Also I tried to remove and reinstall the Telerik Reporting, but no success. Any other tip that could be related to my Visual Studio or to my environment?

Tks,

Alex
0
Steve
Telerik team
answered on 08 Oct 2010, 01:13 PM
Hi Alexandre,

Please try to open our Visual Studio examples from Start menu --> telerik --> Reporting Q2 2010 --> Visual Studio examples. Open the Silverlight project and see how the report viewer is defined and whether it works for you. Also when you created a new project with only the viewer, did you follow the steps from the  Assign report to the Silverlight viewer help article?

Sincerely yours,
Steve
the Telerik team
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 Public Issue Tracking system and vote to affect the priority of the items
0
PRAMOD
Top achievements
Rank 1
answered on 07 Feb 2011, 02:11 PM
sir,
Please tell me solution about problem in Telerik ReportViewer. I am Using Telerik ReporViewer in my Project my client want's navigation button on both side that is top and bottom. how can i provide this in ReportViewer i am using this in Silverlight 4 
0
Steve
Telerik team
answered on 07 Feb 2011, 05:31 PM
Hello PRAMOD,

Although there is no out of the box approach, the Silverlight viewer is just a template that can be edited and modified to best suit your needs. More information is available in Creating Style in Expression Blend help article.

Greetings,
Steve
the Telerik team
Get started with Telerik Reporting with numerous videos and detailed documentation.
0
PRAMOD
Top achievements
Rank 1
answered on 09 Feb 2011, 10:06 AM
Thank you , it is working fine.
Tags
General Discussions
Asked by
Alexandre
Top achievements
Rank 1
Answers by
Steve
Telerik team
Alexandre
Top achievements
Rank 1
PRAMOD
Top achievements
Rank 1
Share this question
or