"RadMenu" working with "Navigation"

1 posts, 0 answers
  1. Starry
    Starry avatar
    59 posts
    Member since:
    Apr 2012

    Posted 04 Jul 2012 Link to this post

    "RadMenu"   working   with   "Navigation".

    <telerik:RadMenu HorizontalAlignment="Stretch" Margin="158,10,366,0" Name="radMenu1" VerticalAlignment="Top">
      <telerik:RadMenuItem Header="校园设施">
      <telerik:RadMenuItem Header="校园信息" >
      <telerik:RadMenuItem.ItemTemplate>
    <HyperlinkButton x:Name="Link1" Style="{StaticResource LinkStyle}" NavigateUri="/Home" TargetName="ContentFrame" Content="主页"/>

      </telerik:RadMenuItem.ItemTemplate>
      </telerik:RadMenuItem>
      <telerik:RadMenuItem Header="部门信息" />
      <telerik:RadMenuItem Header="建筑信息" />
      </telerik:RadMenuItem>
      </telerik:RadMenu> 


    Question one :“<telerik:RadMenuItem.ItemTemplate>”  defining  as “<HyperlinkButton/>”  occurs  error...

    error 1 property “ItemTemplate” don't support  the type as “HyperlinkButton” of value。 E:\Test\NavigationMenu\NavigationMenu\MainPage.xaml 59 33 NavigationMenu


    Question  two:“<telerik:RadMenuItem>”  can  set up  the  "NavigateUri"  attribute???

    Question  three :“<telerik:RadMenu>” how to use  with  the  "NavigateFrawork"???    To  point  the  page  according to  url... 
Back to Top