Hi, i want to have also "MenuItem" in ToolBar besides normal Buttons. I achieved to do it, but the MenuItem is never opened. Is it necessary to do something more. Or is there any other short way to implement this behavior?
Here it is my xaml
<telerik:RadToolBar x:Name="toolBar" FocusManager.IsFocusScope="False" HorizontalAlignment="Stretch" Margin="-1 -2 -1 0" BorderBrush="{StaticResource W Grey}" AutoHideOverflowButton="True">
<telerik:RadButton Margin="2" Command="{Binding LoginCommand}" Content="Login" />
<telerik:RadButton Margin="2" Command="{Binding LogoutCommand}" Content="Logout" />
<telerik:RadMenuItem Margin="2">
<telerik:RadMenuItem Margin="2" Header="Online Change Compile" Command="{Binding OnlineChangeCompileCommand}">
<Image Source="../Resources/Images/Toolbar/Icons.16x16.OnlineChangeCompile.png" Stretch="None" />
</telerik:RadMenuItem>
<telerik:RadMenuItem Margin="2" Header="Full Compile" Command="{Binding FullCompileCommand}">
<Image Source="../Resources/Images/ToolBar/Icons.16x16.FullCompile.png" Stretch="None" />
</telerik:RadMenuItem>
<telerik:RadMenuItem Margin="2" Header="Full Deploy" Command="{Binding FullDeployCommand}" />
<telerik:RadMenuItem Margin="2" Header="Online Change Deploy" Command="{Binding OnlineChangeDeployCommand}" />
<telerik:RadMenuItem.Header>
<StackPanel Orientation="Horizontal">
<Image Margin="0" Source="../Resources/Images/Icons.16x16.OpenContextMenu.png" Stretch="None" Height="16" Width="16" Visibility="{Binding OpenContextMenuVisibility}"/>
<TextBlock Text="Action" />
</StackPanel>
</telerik:RadMenuItem.Header>
</telerik:RadMenuItem>
</telerik:RadToolBar>
Thanks, Ivo