RadMenu not working

5 posts, 0 answers
  1. John
    John avatar
    7 posts
    Member since:
    Oct 2010

    Posted 27 Dec 2010 Link to this post

    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

  2. Kaloyan
    Admin
    Kaloyan avatar
    920 posts

    Posted 28 Dec 2010 Link to this post

    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
  3. DevCraft banner
  4. Boyan
    Admin
    Boyan avatar
    758 posts

    Posted 28 Dec 2010 Link to this post

    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
  5. John
    John avatar
    7 posts
    Member since:
    Oct 2010

    Posted 28 Dec 2010 Link to this post

    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]
  6. Boyan
    Admin
    Boyan avatar
    758 posts

    Posted 03 Jan 2011 Link to this post

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