Dear,
I have problem with ASP.NET RadScheduler in my ASP.NET MVC project again. I'm using built in ContextMenu, but receiving "theForm is not defined" error every time I click with right mouse button.
It was working perfectly for some time, but it has stopped with next release. RadScriptManager is defined in my master page (before RadScheduler is declared).
Do You have any idea what could be wrong?
I can send You access to my development application, but would prefer personal contact by e-mail instead of public forum.
Thank You
Kind regards
Here is part of the code:
<telerik:RadScheduler runat="server" ID="RadScheduler1" AllowDelete="false" AllowEdit="true"
RowHeight="16px" Culture="cs-CZ" AllowInsert="false" MinutesPerRow="15" StartEditingInAdvancedForm="false"
StartInsertingInAdvancedForm="false" OnClientAppointmentDoubleClick="OnClientAppointmentDoubleClick"
OnClientTimeSlotContextMenuItemClicked="TimeSlotContextMenuItemClicked" OnClientTimeSlotClick="OnClientTimeSlotClick"
OnClientAppointmentDeleting="OnClientAppointmentDeleting" OnClientAppointmentDataBound="OnClientAppointmentDataBound"
Height="900px" OnClientAppointmentEditing="OnClientAppointmentEditing" OnClientAppointmentContextMenuItemClicked="appointmentContextMenuItemClicked"
SelectedView="WeekView" DayHeaderDateFormat="dddd, dd MMMM yyyy" HoursPanelTimeFormat="HH:mm">
<AppointmentContextMenus>
<%--The appointment context menu interaction is handled on the client--%>
<%--See the JavaScript code above--%>
<telerik:RadSchedulerContextMenu runat="server" ID="SchedulerAppointmentContextMenu">
<Items>
<telerik:RadMenuItem Text="Export iCalendar" Value="GenerateVCal"
ImageUrl="~/Content/Images/Icons/iCalendar16.png" />
<telerik:RadMenuItem IsSeparator="True" />
<telerik:RadMenuItem Text="Delete" Value="CommandDelete" ImageUrl="~/Content/Images/DataEditing/Delete.gif"
Enabled="True" />
</Items>
</telerik:RadSchedulerContextMenu>
</AppointmentContextMenus>
<TimeSlotContextMenus>
<telerik:RadSchedulerContextMenu runat="server" ID="TimeSlotContextMenu">
<Items>
<telerik:RadMenuItem Text="CreateAppointment" Value="CreateAppointment" />
<telerik:RadMenuItem Text="CreateTask" Value="CreateTask" />
<telerik:RadMenuItem Text="CreateEmail" Value="CreateEmail" />
<telerik:RadMenuItem Text="CreateCall" Value="CreateCall" />
</Items>
</telerik:RadSchedulerContextMenu>
</TimeSlotContextMenus>
<TimelineView GroupBy="Calendar" GroupingDirection="Vertical" />
<AdvancedForm Enabled="false" EnableResourceEditing="false" />
<WebServiceSettings Path="~/Models/SchedulerWebService.asmx" ResourcePopulationMode="ClientSide" />
</telerik:RadScheduler>
I have problem with ASP.NET RadScheduler in my ASP.NET MVC project again. I'm using built in ContextMenu, but receiving "theForm is not defined" error every time I click with right mouse button.
It was working perfectly for some time, but it has stopped with next release. RadScriptManager is defined in my master page (before RadScheduler is declared).
Do You have any idea what could be wrong?
I can send You access to my development application, but would prefer personal contact by e-mail instead of public forum.
Thank You
Kind regards
Here is part of the code:
<telerik:RadScheduler runat="server" ID="RadScheduler1" AllowDelete="false" AllowEdit="true"
RowHeight="16px" Culture="cs-CZ" AllowInsert="false" MinutesPerRow="15" StartEditingInAdvancedForm="false"
StartInsertingInAdvancedForm="false" OnClientAppointmentDoubleClick="OnClientAppointmentDoubleClick"
OnClientTimeSlotContextMenuItemClicked="TimeSlotContextMenuItemClicked" OnClientTimeSlotClick="OnClientTimeSlotClick"
OnClientAppointmentDeleting="OnClientAppointmentDeleting" OnClientAppointmentDataBound="OnClientAppointmentDataBound"
Height="900px" OnClientAppointmentEditing="OnClientAppointmentEditing" OnClientAppointmentContextMenuItemClicked="appointmentContextMenuItemClicked"
SelectedView="WeekView" DayHeaderDateFormat="dddd, dd MMMM yyyy" HoursPanelTimeFormat="HH:mm">
<AppointmentContextMenus>
<%--The appointment context menu interaction is handled on the client--%>
<%--See the JavaScript code above--%>
<telerik:RadSchedulerContextMenu runat="server" ID="SchedulerAppointmentContextMenu">
<Items>
<telerik:RadMenuItem Text="Export iCalendar" Value="GenerateVCal"
ImageUrl="~/Content/Images/Icons/iCalendar16.png" />
<telerik:RadMenuItem IsSeparator="True" />
<telerik:RadMenuItem Text="Delete" Value="CommandDelete" ImageUrl="~/Content/Images/DataEditing/Delete.gif"
Enabled="True" />
</Items>
</telerik:RadSchedulerContextMenu>
</AppointmentContextMenus>
<TimeSlotContextMenus>
<telerik:RadSchedulerContextMenu runat="server" ID="TimeSlotContextMenu">
<Items>
<telerik:RadMenuItem Text="CreateAppointment" Value="CreateAppointment" />
<telerik:RadMenuItem Text="CreateTask" Value="CreateTask" />
<telerik:RadMenuItem Text="CreateEmail" Value="CreateEmail" />
<telerik:RadMenuItem Text="CreateCall" Value="CreateCall" />
</Items>
</telerik:RadSchedulerContextMenu>
</TimeSlotContextMenus>
<TimelineView GroupBy="Calendar" GroupingDirection="Vertical" />
<AdvancedForm Enabled="false" EnableResourceEditing="false" />
<WebServiceSettings Path="~/Models/SchedulerWebService.asmx" ResourcePopulationMode="ClientSide" />
</telerik:RadScheduler>