Hide/different context menu for certain view

3 posts, 1 answers
  1. Håkan
    Håkan avatar
    183 posts
    Member since:
    May 2011

    Posted 14 Feb 2013 Link to this post

    Hi,

    I have a ScheduleView with four different ViewDefinitions.
    The calendar view should not have any context menu at all, and the rest of the views should have different menu items displayed.

    What is the best practice for this?
    Now I have a viewchanged event that will set the context menu to Collapsed for the calendar view, and hide/show menuitems depending on the active view.
    Is this the best way to do this, or should I create three diffent context menus or what do you suggest?

    Regards,
    Håkan
  2. Answer
    Yana
    Admin
    Yana avatar
    4554 posts

    Posted 19 Feb 2013 Link to this post

    Hello Håkan,

    It seems that the used solution is good enough for the described scenario. Have you got any issues with the approach?

    All the best,
    Yana
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. DevCraft banner
  4. Håkan
    Håkan avatar
    183 posts
    Member since:
    May 2011

    Posted 19 Feb 2013 Link to this post

    Hi,

    No issues so far, just wanted to check for best practice, thank you!

    Regards,
    Håkan
Back to Top