RadSchedulerContextMenu on single click

1 posts, 0 answers
  1. Matthew
    Matthew avatar
    13 posts
    Member since:
    Jan 2012

    Posted 17 Aug 2015 Link to this post

    Hi,

         Am using RadScheduler with RadSchedulerContextMenu . ​Now the menus are showing when we right click the appointment . I need to show the menu on single click instead of right click. How this would be possible please?

     

    Code-------------

    <telerik:RadScheduler runat="server" ID="RegScheduler" CssClass="RegScheduler" SelectedView="MonthView" Height="565px"
                AllowDelete="false" AppointmentStyleMode="Default" TimelineView-UserSelectable="false"
                CustomAttributeNames="EventStatus,Recurrence" StartInsertingInAdvancedForm="True"
                EnableCustomAttributeEditing="True" EnableExactTimeRendering="True" EnableResourceEditing="False"
                AdvancedForm-EnableCustomAttributeEditing="True" AllowEdit="true" AllowInsert="true"  
               OnClientAppointmentsPopulating="appointmentsPopulating" OnClientAppointmentsPopulated="appointmentsPopulated"
                OnClientDataBound="clientDataBound"  
                OnClientAppointmentContextMenuItemClicked="appointmentContextMenu"
                OnClientAppointmentWebServiceInserting="appointmentInserting" OnClientRequestSuccess="clientRequestSuccess"
                OnClientAppointmentInserting="clientappointmentInserting" OnClientAppointmentEditing="clientappointmentEditing"
                OnClientAppointmentWebServiceUpdating="appointmentWebserviceEditing" OnClientAppointmentMoveStart="onClientAppointmentMoveStart"
                OnClientAppointmentResizeStart="onClientAppointmentResizeStart" OnClientTimeSlotContextMenuItemClicking="onClientTimeSlotContextMenuItemClicking"    >
                <AdvancedForm Modal="true" />
                <WebServiceSettings Path="Controls/Registration/Calendar/SchedulerWcfService.svc" />
                       
                <TimelineView UserSelectable="False" />
                <WeekView EnableExactTimeRendering="True" />
                <DayView EnableExactTimeRendering="True" WorkDayEndTime="18:00:00" WorkDayStartTime="06:00:00" />
                <MonthView VisibleAppointmentsPerDay="3" />
                <AppointmentContextMenus>
                    <telerik:RadSchedulerContextMenu runat="server" ID="SchedulerAppointmentContextMenu" >
                        <Items>
                            <telerik:RadMenuItem Text="Edit" Value="Edit">
                            </telerik:RadMenuItem>
                            <telerik:RadMenuItem Text="Delete" Value="Delete">
                            </telerik:RadMenuItem>
                            <telerik:RadMenuItem Text="View Registrants" Value="ViewRegistrants">
                            </telerik:RadMenuItem>
                            <telerik:RadMenuItem Text="Add Registrant" Value="AddRegistrants">
                            </telerik:RadMenuItem>
                            <telerik:RadMenuItem Text="Add Registrants" Value="AddBulkRegistrants">
                            </telerik:RadMenuItem>
                        </Items>
                    </telerik:RadSchedulerContextMenu>
                </AppointmentContextMenus>
                <TimeSlotContextMenus>
                    <telerik:RadSchedulerContextMenu runat="server" ID="SchedulerTimeSlotContextMenu">
                        <Items>
                            <telerik:RadMenuItem Text="New" Value="CommandAddAppointment" />
                        </Items>
                    </telerik:RadSchedulerContextMenu>
                </TimeSlotContextMenus>
            </telerik:RadScheduler>​

     

    Regards,

    Matthew


     

     

Back to Top