This is a migrated thread and some comments may be shown as answers.

Hide/different context menu for certain view

2 Answers 41 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Håkan
Top achievements
Rank 1
Håkan asked on 14 Feb 2013, 11:47 AM
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 Answers, 1 is accepted

Sort by
0
Accepted
Yana
Telerik team
answered on 19 Feb 2013, 01:31 PM
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.

0
Håkan
Top achievements
Rank 1
answered on 19 Feb 2013, 01:37 PM
Hi,

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

Regards,
Håkan
Tags
ScheduleView
Asked by
Håkan
Top achievements
Rank 1
Answers by
Yana
Telerik team
Håkan
Top achievements
Rank 1
Share this question
or