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

Scheduler "theForm is not defined" in Telerik.Web.UI.WebResource.axd

3 Answers 86 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Jan
Top achievements
Rank 1
Jan asked on 08 Apr 2010, 10:12 AM
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>

3 Answers, 1 is accepted

Sort by
0
Dimitar Milushev
Telerik team
answered on 08 Apr 2010, 04:55 PM
Hello Jan,

This was a bug in an earlier version of RadScheduler, but it should be fixed in the latest released version. Which version of RadControls are you using?

Greetings,
Dimitar Milushev
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Jan
Top achievements
Rank 1
answered on 08 Apr 2010, 05:04 PM
Hello,

Thank You for Your reply. I´m currently using build 2010.1.309, which is one of the latest I suppose.Was/Is the problem in this release?

0
Dimitar Milushev
Telerik team
answered on 09 Apr 2010, 09:53 AM
Hi Jan,

Please excuse me for misleading you - the bug is fixed in our internal codebase and the fix will be included in the next Service Pack, scheduled for next week.

Regards,
Dimitar Milushev
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Scheduler
Asked by
Jan
Top achievements
Rank 1
Answers by
Dimitar Milushev
Telerik team
Jan
Top achievements
Rank 1
Share this question
or