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

RadSchedulerContextMenu on single click

0 Answers 78 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Matthew
Top achievements
Rank 1
Matthew asked on 17 Aug 2015, 02:44 PM

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


 

 

No answers yet. Maybe you can help?

Tags
Scheduler
Asked by
Matthew
Top achievements
Rank 1
Share this question
or