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

Default Context Menus do nothing

1 Answer 34 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Brian Mott
Top achievements
Rank 1
Brian Mott asked on 20 Oct 2015, 03:19 AM

I am using the default context menus that show Edit and Delete when you right click on an event. All works fine except when you click Edit or Delete, nothing happens. No postback, nothing. However, if I load the calendar and switch views clicking on either the Day, Week or Month, even if clicking the same view we are currently on, then doing a right click on an event works fine. Thoughts? What am I not setting on page load that gets set when clicking one of the view buttons? 

 

My binding on page load is: 

 

            RadScheduler1.SelectedDate = DateTime.Now;
            RadScheduler1.SelectedView = SchedulerViewType.MonthView;
            RadScheduler1.DataSource = GetCalendarEvents();     // loads ​my list .. List<Telerik.Web.UI.Appointment>

1 Answer, 1 is accepted

Sort by
0
Ivan Danchev
Telerik team
answered on 22 Oct 2015, 05:12 PM
Hello Brian,

At my side setting SelectedDate and SelectedView in the code-behind does not break the ContextMenu's functionality. Please, find attached a sample runnable project, in which the ContextMenu's Edit and Delete options work correctly, try to reproduce the issue in it and post your modifications for further review.

Regards,
Ivan Danchev
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Scheduler
Asked by
Brian Mott
Top achievements
Rank 1
Answers by
Ivan Danchev
Telerik team
Share this question
or