Approved
Last Updated: 14 Aug 2017 13:41 by ADMIN
ADMIN
Hristo
Created on: 31 Mar 2017 13:02
Category: Menus
Type: Bug Report
1
FIX. RadMenu - the popup with child menu items should not be shown if the form containing the menu looses focus and the menu items are being hovered
How to reproduce: check the attached project and video

Workaround:
public partial class RadForm1 : Telerik.WinControls.UI.RadForm
{
    public RadForm1()
    {
        InitializeComponent();

        this.LostFocus += RadForm1_LostFocus1;
    }

    private void RadForm1_LostFocus1(object sender, EventArgs e)
    {
        //Workaround
        this.radMenu1.GetType().GetField("shouldShowChildren", System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.NonPublic).SetValue(this.radMenu1, false);
    }
}
(Total attached files size should be smaller than 20mb. Allowed extensions: .zip, .rar, .jpg, .png, .gif)
0 comments