Contextmenu on a custom command.

2 posts, 0 answers
  1. Jesper Krejberg Petersen
    Jesper Krejberg Petersen avatar
    70 posts
    Member since:
    Dec 2006

    Posted 18 Jan 2011 Link to this post

    Hi.

    Is there a way to make a custom command show a context menu?
    Just as if the command icon was the root level of a dropdown menu.

    Thank you
    /Jesper
  2. Jesper Krejberg Petersen
    Jesper Krejberg Petersen avatar
    70 posts
    Member since:
    Dec 2006

    Posted 18 Jan 2011 Link to this post

    Never mind.

    I found this to be a better solution :)

    RadMenu dm = new RadMenu();
    dm.Skin = dock.Skin;
    dm.ID = dock.ID + "designMenu";
    RadMenuItem mi = new RadMenuItem("Settings");
    dm.Items.Add(mi);
    dock.TitlebarContainer.Controls.Add(dm);

    Or something like that. I'll play with it !!

    Happy day
    /Jesper
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top