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

RadMenu not working

4 Answers 135 Views
Menu
This is a migrated thread and some comments may be shown as answers.
John
Top achievements
Rank 1
John asked on 27 Dec 2010, 06:03 PM
I get a "namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Navigation' is an unknown namespace." error when I am trying to implement RadMenu.

Here is the code I am using:

<UserControl xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"  
             xmlns:telerikNavigation="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Navigation"
<telerikNavigation:RadMenu >
                    
                    <telerikNavigation:RadMenuItem/>
                    <telerikNavigation:RadMenuItem/>
                </telerikNavigation:RadMenu>











Any assistance would be appreciated

4 Answers, 1 is accepted

Sort by
0
Kaloyan
Telerik team
answered on 28 Dec 2010, 09:55 AM
Hello John,

This error happens when the Telerik.Windows.Controls.Navigation assembly is missing.

Kind regards,
Kaloyan
the Telerik team
Browse the videos here>> to help you get started with RadControls for Silverlight
0
Boyan
Telerik team
answered on 28 Dec 2010, 01:34 PM
Hi John,

That is strange. Could you please try using this instead:
<UserControl xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"  >
                <telerik:RadMenu >
                    <telerik:RadMenuItem/>
                    <telerik:RadMenuItem/>
                </telerik:RadMenu>
And also check if you have referenced the correct Navigation assembly.

Let me know if you have further problems.

Kind regards,
Boyan
the Telerik team
Browse the videos here>> to help you get started with RadControls for Silverlight
0
John
Top achievements
Rank 1
answered on 28 Dec 2010, 04:52 PM
The assembly is not missing, I double checked it. I also looked at the reference in object viewer and everything seems to be where it should be.

This is the error when I use xmlns:telerik=http://schemas.telerik.com/2008/xaml/presentation

The type 'RadMenu' was not found. [Line: 44 Position: 33]
0
Boyan
Telerik team
answered on 03 Jan 2011, 09:54 AM
Hi John,

This is very strange. Could you please specify which version of RadControls are you using as sometimes people leave the default version in the template which is the latest official. Also some more information about OS will be of help. Could you also check if your project is not SL3 and the assemblies SL4. Are you referencing the binaries from the default install location or they are copied in another folder?

You can also try to add Telerik.Windows.Data.dll assembly to the references as well. Let me know how it goes.

Kind regards,
Boyan
the Telerik team
Browse the videos here>> to help you get started with RadControls for Silverlight
Tags
Menu
Asked by
John
Top achievements
Rank 1
Answers by
Kaloyan
Telerik team
Boyan
Telerik team
John
Top achievements
Rank 1
Share this question
or