Default Context Menus do nothing

2 posts, 0 answers
  1. Brian Mott
    Brian Mott avatar
    6 posts
    Member since:
    Mar 2010

    Posted 19 Oct 2015 Link to this post

    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>

  2. Ivan Danchev
    Admin
    Ivan Danchev avatar
    835 posts

    Posted 22 Oct 2015 Link to this post

    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
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top