Using ContextMenuStrip

2 posts, 1 answers
  1. Friedhelm
    Friedhelm avatar
    9 posts
    Member since:
    Jul 2012

    Posted 07 Aug 2012 Link to this post

    Can I also show a ContextMenuStrip as popup menu instead of the RadContextMenu?

    Best regards Friedhelm
  2. Answer
    Stefan
    Admin
    Stefan avatar
    2891 posts

    Posted 10 Aug 2012 Link to this post

    Hi,

    Thank you for writing.

    I assume that your question concerns RadScheduler. If so, you can show a ContextMenuStrip by assigning a instance of it to the ContextMenuStrip property of RadScheduler and then, preventing the default context menu from showing:
    void radScheduler1_ContextMenuShowing(object sender, Telerik.WinControls.UI.SchedulerContextMenuShowingEventArgs e)
    {
        e.Cancel = true;
    }

    I hope that the provided information addresses your question. Let us know if you have any other questions.

    Regards,
    Stefan
    the Telerik team
    RadControls for WinForms Q2'12 release is now live! Check out what's new or download a free trial >>
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top