Hi telerik team
I am very pleased with your constant support over my problems but i m stuck with new problem.
I need to add "Export to iCal" link in Appointment context menu.
like:
but on "
Is there any way to call "WriteCalendar(String data)" method through appointment context menu?
please help me to solve this problem.
Regards
Manmeet Singh
I am very pleased with your constant support over my problems but i m stuck with new problem.
I need to add "Export to iCal" link in Appointment context menu.
like:
<
appointmentcontextmenus
>
<
telerik:RadSchedulerContextMenu
runat
=
"server"
ID
=
"SchedulerAppointmentContextMenu"
>
<
Items
>
<
telerik:RadMenuItem
Text
=
"Edit"
Value
=
"CommandEdit"
/>
<
telerik:RadMenuItem
IsSeparator
=
"True"
/>
<
telerik:RadMenuItem
Text
=
"Export"
Value
=
"Export"
/>
</
Items
>
</
telerik:RadSchedulerContextMenu
>
</
appointmentcontextmenus
>
but on "
AppointmentContextMenuItemClicking
" event is not working as required. In debugging mode it never comes to this event. incase of "CommandEdit" it automatically opens the Edit form (i.e. Advanced Edit template).protected void RadScheduler1_AppointmentContextMenuItemClicking(object sender, AppointmentContextMenuItemClickingEventArgs e)
{
if (e.MenuItem.Text.Contains("Export"))
{
WriteCalendar(RadScheduler.ExportToICalendar(e.Appointment));
e.Cancel = true;
}
}
Is there any way to call "WriteCalendar(String data)" method through appointment context menu?
please help me to solve this problem.
Regards
Manmeet Singh