Jayesh Goyani
Top achievements
Rank 2
Jayesh Goyani
asked on 10 Jan 2011, 01:52 PM
i want to hide Appointment context menu and Time slot context menu in RadScheduler.
4 Answers, 1 is accepted
0
Hello Jayesh Goyani,
You need to set these properties:
Regards,
Veronica Milcheva
the Telerik team
You need to set these properties:
<
TimeSlotContextMenuSettings
EnableDefault
=
"false"
/>
<
AppointmentContextMenuSettings
EnableDefault
=
"false"
/>
Regards,
Veronica Milcheva
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
0
Jayesh Goyani
Top achievements
Rank 2
answered on 20 Jan 2011, 12:54 PM
<
telerik:RadScheduler
ID
=
"radschClassScheduler"
runat
=
"server"
Width
=
"100%"
DataKeyField
=
"ClassScheduleID"
DataStartField
=
"StartDate"
StartEditingInAdvancedForm
=
"true"
DataEndField
=
"EndDate"
DataSubjectField
=
"ListID"
DataDescriptionField
=
"Description"
ShowAllDayRow
=
"true"
OnClientFormCreated
=
"schedulerFormCreated"
OnAppointmentDelete
=
"radschClassScheduler_AppointmentDelete"
OnDataBound
=
"radschClassScheduler_DataBound"
DataRecurrenceField
=
"RecurrenceRule"
DataRecurrenceParentKeyField
=
"RecurrenceParentID"
OnAppointmentDataBound
=
"radschClassScheduler_AppointmentDataBound"
OnAppointmentUpdate
=
"radschClassScheduler_AppointmentUpdate"
StartInsertingInAdvancedForm
=
"True"
OnAppointmentInsert
=
"radschClassScheduler_AppointmentInsert"
DayStartTime
=
"7:00"
WorkDayStartTime
=
"7:00"
WorkDayEndTime
=
"19:00"
DayEndTime
=
"19:00"
Culture
=
"en-GB"
Height
=
"100%"
SelectedView
=
"WeekView"
AllowDelete
=
"true"
FirstDayOfWeek
=
"Monday"
LastDayOfWeek
=
"Sunday"
onprerender
=
"radschClassScheduler_PreRender"
>
<
Localization
ConfirmRecurrenceDeleteTitle
=
"Deleting a Class Schedule"
ConfirmRecurrenceDeleteOccurrence
=
"Delete only this Class Schedule."
/>
<
WeekView
ColumnHeaderDateFormat
=
"dd/MM/yyyy"
/>
<
MultiDayView
UserSelectable
=
"false"
/>
<
AdvancedForm
Modal
=
"true"
/>
<
TimelineView
UserSelectable
=
"false"
/>
<
TimeSlotContextMenuSettings
EnableDefault
=
"true"
/>
<
AppointmentContextMenuSettings
EnableDefault
=
"true"
/>
<
TimeSlotContextMenus
>
<
telerik:RadSchedulerContextMenu
runat
=
"server"
ID
=
"cmSchedule"
>
<
Items
>
<
telerik:RadMenuItem
Text
=
"New Schedule"
Value
=
"CommandAddAppointment"
>
</
telerik:RadMenuItem
>
<
telerik:RadMenuItem
Text
=
"New Recurring Schedule"
Value
=
"CommandAddRecurringAppointment"
>
</
telerik:RadMenuItem
>
<
telerik:RadMenuItem
Text
=
"Show 24-Hours"
Value
=
"CommandShow24Hours"
>
</
telerik:RadMenuItem
>
<
telerik:RadMenuItem
Text
=
"Go to today"
Value
=
"CommandGoToToday"
>
</
telerik:RadMenuItem
>
</
Items
>
</
telerik:RadSchedulerContextMenu
>
</
TimeSlotContextMenus
>
</
telerik:RadScheduler
>
i want to hide this two menu on conditionally.
0
Hello Jayesh Goyani,
You can not enable the default context menu and use custom context menu in one and the same time. Please take a look at this help article for more information.
Regards,
Veronica Milcheva
the Telerik team
You can not enable the default context menu and use custom context menu in one and the same time. Please take a look at this help article for more information.
Regards,
Veronica Milcheva
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
0
Jayesh Goyani
Top achievements
Rank 2
answered on 26 Jan 2011, 07:01 AM
hi Veronica Milcheva,
thanx for your help...
thanx for your help...