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

"RadMenu" working with "Navigation"

0 Answers 64 Views
Menu
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Starry
Top achievements
Rank 1
Starry asked on 04 Jul 2012, 07:58 AM
"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... 
Tags
Menu
Asked by
Starry
Top achievements
Rank 1
Share this question
or