Hi,
I'am having a RadSplitButton with a RadContextMenu as DropDownContent:
In the event handler I simply open a message box.
The problem is, that after a click on the menu item the context menu stays open. But shouldn't it close automatically? What am I missing?
Thanks, Stefan
I'am having a RadSplitButton with a RadContextMenu as DropDownContent:
<telerik:RadSplitButton x:Name="BtnSplit" Width="100" Height="25" IsToggle="True" Margin="20"> |
<telerik:RadSplitButton.DropDownContent> |
<telerikNavigation:RadContextMenu> |
<telerikNavigation:RadMenuItem Header="TestItem" Click="MenuItem_Click" /> |
</telerikNavigation:RadContextMenu> |
</telerik:RadSplitButton.DropDownContent> |
</telerik:RadSplitButton> |
In the event handler I simply open a message box.
public void MenuItem_Click(object sender, RoutedEventArgs e) |
{ |
MessageBox.Show("Test"); |
} |
The problem is, that after a click on the menu item the context menu stays open. But shouldn't it close automatically? What am I missing?
Thanks, Stefan