Start Menu Items and their click events

2 posts, 0 answers
  1. Robert LeGood
    Robert LeGood avatar
    28 posts
    Member since:
    Dec 2007

    Posted 01 Feb 2013 Link to this post

    Hi all,

    A very annoying issue that I hope I can get some help on.   When I create Start Menu items and respond to their click events, if I have breakpoints in my code, the start menu sits on top of VS.

    Not a huge issue, except that it sits over most of the menu items, so if there's a crash, I can't hit the button to force the app to stop.

    Is there a way to force the start menu to close *before* it executes the event?


  2. Ivan Todorov
    Ivan Todorov avatar
    688 posts

    Posted 06 Feb 2013 Link to this post

    Hello Robert,

    Thank you for contacting us.

    The popup is remaining visible because there is a fade animation when it is closed and when you hit a break point, the animation has not yet been finished. To overcome the issue, you can disable the animations of the application menu:

    public Form1()
        this.radApplicationMenu1.DropDownButtonElement.DropDownMenu.AnimationEnabled = false;

    Assuming that you would only need to disable the animations when the application is in debug mode, you can surround this setting with #if DEBUG directive.

    I hope I was able to help. If you have any additional questions, feel free to ask.

    Ivan Todorov
    the Telerik team
    Q3'12 SP1 of RadControls for WinForms is out now. See what's new.
Back to Top