Hi:
I'm doing some very basic Silverlight 3 XAML in Visual Studio. When I go to Expression Blend 3 to style the menu control, I get an "Invalid XAML" message. The detailed messages in the results say "Cannot add content to an object of type RadMenu" and "The member Header is not reconized or is not accessible" for each RadMenuItem. Here is an abbreviated version of the XAML, which works fine in VS2008:
Any help would be appreciated.
Thanks,
Terry
I'm doing some very basic Silverlight 3 XAML in Visual Studio. When I go to Expression Blend 3 to style the menu control, I get an "Invalid XAML" message. The detailed messages in the results say "Cannot add content to an object of type RadMenu" and "The member Header is not reconized or is not accessible" for each RadMenuItem. Here is an abbreviated version of the XAML, which works fine in VS2008:
<UserControl |
x:Class="xxx.MainPage" |
xmlns:telerikNavigation="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Navigation" |
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" |
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" |
mc:Ignorable="d" d:DesignWidth="1024" d:DesignHeight="768"> |
<Grid x:Name="LayoutRoot"> |
<Grid.RowDefinitions> |
<RowDefinition Height="90" /> |
<RowDefinition Height="0.783*"/> |
<RowDefinition Height="0.043*"/> |
</Grid.RowDefinitions> |
<Grid.ColumnDefinitions> |
<ColumnDefinition Width="1.5*"/> |
<ColumnDefinition Width="6*"/> |
<ColumnDefinition Width="2*"/> |
</Grid.ColumnDefinitions> |
<StackPanel Grid.Column="0" Grid.ColumnSpan="3" Background="#FF5982D4" > |
<Image Source="xxx_Banner.jpg" HorizontalAlignment="Left" Stretch="None"/> |
</StackPanel> |
<telerikNavigation:RadMenu Orientation="Vertical" Grid.Column="0" Grid.Row="1"> |
<telerikNavigation:RadMenuItem Header="xxx Home Page"></telerikNavigation:RadMenuItem> |
<telerikNavigation:RadMenuItem Header="About xxx"> |
<telerikNavigation:RadMenuItem Header="Careers"></telerikNavigation:RadMenuItem> |
<telerikNavigation:RadMenuItem Header="History"></telerikNavigation:RadMenuItem> |
<telerikNavigation:RadMenuItem Header="Our Team"></telerikNavigation:RadMenuItem> |
<telerikNavigation:RadMenuItem Header="Our Leadership"></telerikNavigation:RadMenuItem> |
<telerikNavigation:RadMenuItem Header="News"></telerikNavigation:RadMenuItem> |
<telerikNavigation:RadMenuItem Header="Mission Statement"></telerikNavigation:RadMenuItem> |
<telerikNavigation:RadMenuItem Header="Contact Us"></telerikNavigation:RadMenuItem> |
</telerikNavigation:RadMenuItem> |
<telerikNavigation:RadMenuItem Header="Locations"></telerikNavigation:RadMenuItem> |
</telerikNavigation:RadMenu> |
</Grid> |
</UserControl> |
Any help would be appreciated.
Thanks,
Terry