SL3 Navigation Application - menu error?

4 posts, 0 answers
  1. Kenneth Jamieson
    Kenneth Jamieson avatar
    43 posts
    Member since:
    Jul 2009

    Posted 16 Feb 2010 Link to this post

    Hey all,

    I have a SL3 navigation app. In the MainPage.xml I wanted to put the navigation links into RadMenu. On their own, the work fine but when wrapped in a RadMenuItem they try and get the browser to load the page as real URL and obviously fail.

    So this works...

    <StackPanel x:Name="LinksStackPanel" Style="{StaticResource LinksStackPanelStyle}">  
        <HyperlinkButton Style="{StaticResource MenuLinkStyle}"   
                NavigateUri="/PageManager" TargetName="ContentFrame" Content="pages" /> 
    </StackPanel> 

    But this fails...

    <StackPanel x:Name="LinksStackPanel" Style="{StaticResource LinksStackPanelStyle}">  
        <telerikNavigation:RadMenu  telerikControls:StyleManager.Theme="Windows7">  
            <telerikNavigation:RadMenuItem Header="CMS" > 
                <HyperlinkButton  Style="{StaticResource MenuLinkStyle}"   
                         NavigateUri="/PageManager" TargetName="ContentFrame" Content="pages" /> 
            </telerikNavigation:RadMenuItem> 
        </telerikNavigation:RadMenu> 
    </StackPanel> 


    It seems that the RadMenu somehow bloks the Silverlight navigation behavior from working. Ideas?

    Thanks!



  2. Hristo
    Admin
    Hristo avatar
    832 posts

    Posted 17 Feb 2010 Link to this post

    Hello Kenneth Jamieson,

    This is caused by Silverlight 3 - there are some problems with HyperlinkButton when placed in Popup.
    The problem is resolved in Silverlight 4 beta1. We cannot do much about this issue.

    Sincerely yours,
    Hristo
    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.
  3. DevCraft banner
  4. Joel Palmer
    Joel Palmer avatar
    164 posts
    Member since:
    May 2009

    Posted 24 May 2010 Link to this post

    Using SL4, do you have a working code example showing how to navigate between pages using the RadMenu?  Search didn't return anything that seemed close.
  5. Hristo
    Admin
    Hristo avatar
    832 posts

    Posted 26 May 2010 Link to this post

    Hello Joel Palmer,

    Please find the attached sample that demonstrate one possible way of using RadMenuItems for page navigation. You can also attach a handler to RadMenu.ItemClick event and manually navigate to the corresponding page. This way you will overcome the limitation in the current project that you have to click the hyperlink control to navigate (not working if you click the RadMenuItem).

    Let us know if you need more information.

    All the best,
    Hristo
    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.
Back to Top