Hi,
I am having issues with the radscheduler advanced insert form in my radscheduler. What is happening is whenever I double click an empty timeslot to bring up the insert template, whenever I press the enter key in any of the textboxes of the form, I get a javascript error. It seems like the keypress on enter is causing some sort of event to fire and then I get the unhandled exception.
Here is where I am getting the unhandled exception dynamically created by visual studio
/* START Telerik.Web.UI.Common.jQuery.js */
/*! jQuery v1.6.4 http://jquery.com/ | http://jquery.org/license */
g=cu(this),g?g.scrollTo(a?f(g).scrollLeft():c,a?c:f(g).scrollTop()):this[d]=c
My Radscheduler control:
<telerik:RadScheduler runat="server" ID="RadScheduler1"
AdvancedForm-EnableCustomAttributeEditing="true"
CustomAttributeNames="TimeStart, TimeOut"
Height="1200px" Width="100%"
ShowFooter="False"
SelectedDate="2009-02-02" TimeZoneOffset="03:00:00" DayEndTime="20:00:00"
FirstDayOfWeek="Monday" LastDayOfWeek="Sunday"
AppointmentStyleMode="Default"
OnNavigationComplete="RadScheduler1_NavigationComplete"
OnAppointmentCreated="RadScheduler1_AppointmentCreated"
OnAppointmentDataBound="RadScheduler1_AppointmentDataBound"
OnAppointmentDelete="RadScheduler1_AppointmentDelete"
OnAppointmentUpdate="RadScheduler1_AppointmentUpdate"
OnAppointmentInsert="RadScheduler1_AppointmentInsert"
DataDescriptionField="Description" DataEndField="End" DataKeyField="ID"
DataRecurrenceField="RecurrenceRule"
DataRecurrenceParentKeyField="RecurrenceParentID" DataReminderField="Reminder"
DataSourceID="SqlDataSource" DataStartField="Start"
DataSubjectField="Subject" DayStartTime="06:00:00"
WorkDayEndTime="19:00:00" WorkDayStartTime="06:00:00"
onformcreated="RadScheduler1_FormCreated"
onformcreating="RadScheduler1_FormCreating"
StartInsertingInAdvancedForm="True" AllowDelete="False"
SelectedView="WeekView" WeekView-GroupingDirection="Horizontal"
ColumnWidth="200px"
ShowAllDayRow="true" MinutesPerRow="30" GroupingDirection="Vertical">
<AdvancedForm Modal="true" />
<TimelineView UserSelectable="false" />
<ResourceTypes>
<telerik:ResourceType AllowMultipleValues="false" DataSourceID="SqlDataSource1"
ForeignKeyField="UserID" KeyField="UserID" Name="Users" TextField="UserName" />
</ResourceTypes>
<ResourceStyles>
<%--AppointmentStyleMode must be explicitly set to Default (see above) otherwise setting BackColor/BorderColor
will switch the appointments to Simple rendering (no rounded corners and gradients)--%>
<telerik:ResourceStyleMapping Type="Users" Text="ebarcza" ApplyCssClass="rsCategoryRed" />
<telerik:ResourceStyleMapping Type="Users" Text="Sean.Kelly" ApplyCssClass="rsCategoryPink" />
<telerik:ResourceStyleMapping Type="Users" Text="RandyPurser" ApplyCssClass="rsCategoryOrange" />
<telerik:ResourceStyleMapping Type="Users" Text="jSturm" ApplyCssClass="rsCategoryYellow" />
<telerik:ResourceStyleMapping Type="Users" Text="tMichel" ApplyCssClass="rsCategoryBlue" />
<telerik:ResourceStyleMapping Type="Users" Text="jDuff" ApplyCssClass="rsCategoryGreen" />
<telerik:ResourceStyleMapping Type="Users" Text="JennSturm" ApplyCssClass="rsCategoryViolet" />
<telerik:ResourceStyleMapping Type="Users" Text="Tentative" BackColor="red" />
<telerik:ResourceStyleMapping Type="Calendar" Text="Work" BackColor="#edd5b7" BorderColor="#cdb597" />
</ResourceStyles>
<Reminders Enabled="True" />
<AppointmentTemplate>
<div class="rsAptSubject" style="font-size:9px; height:50px;">
<%# Eval("Subject") %>
</div>
</AppointmentTemplate>
<TimeSlotContextMenuSettings EnableDefault="true" />
<DayView DayStartTime="06:00:00" WorkDayStartTime="06:00:00"
DayEndTime="20:00:00" WorkDayEndTime="20:00:00" />
<MonthView AdaptiveRowHeight="True" VisibleAppointmentsPerDay="10" />
<AppointmentContextMenuSettings EnableDefault="true" />
</telerik:RadScheduler>
I have been unable to narrow down the cause of this error. Any thoughts??
Thanks,
Brendan
I am having issues with the radscheduler advanced insert form in my radscheduler. What is happening is whenever I double click an empty timeslot to bring up the insert template, whenever I press the enter key in any of the textboxes of the form, I get a javascript error. It seems like the keypress on enter is causing some sort of event to fire and then I get the unhandled exception.
Here is where I am getting the unhandled exception dynamically created by visual studio
/* START Telerik.Web.UI.Common.jQuery.js */
/*! jQuery v1.6.4 http://jquery.com/ | http://jquery.org/license */
g=cu(this),g?g.scrollTo(a?f(g).scrollLeft():c,a?c:f(g).scrollTop()):this[d]=c
My Radscheduler control:
<telerik:RadScheduler runat="server" ID="RadScheduler1"
AdvancedForm-EnableCustomAttributeEditing="true"
CustomAttributeNames="TimeStart, TimeOut"
Height="1200px" Width="100%"
ShowFooter="False"
SelectedDate="2009-02-02" TimeZoneOffset="03:00:00" DayEndTime="20:00:00"
FirstDayOfWeek="Monday" LastDayOfWeek="Sunday"
AppointmentStyleMode="Default"
OnNavigationComplete="RadScheduler1_NavigationComplete"
OnAppointmentCreated="RadScheduler1_AppointmentCreated"
OnAppointmentDataBound="RadScheduler1_AppointmentDataBound"
OnAppointmentDelete="RadScheduler1_AppointmentDelete"
OnAppointmentUpdate="RadScheduler1_AppointmentUpdate"
OnAppointmentInsert="RadScheduler1_AppointmentInsert"
DataDescriptionField="Description" DataEndField="End" DataKeyField="ID"
DataRecurrenceField="RecurrenceRule"
DataRecurrenceParentKeyField="RecurrenceParentID" DataReminderField="Reminder"
DataSourceID="SqlDataSource" DataStartField="Start"
DataSubjectField="Subject" DayStartTime="06:00:00"
WorkDayEndTime="19:00:00" WorkDayStartTime="06:00:00"
onformcreated="RadScheduler1_FormCreated"
onformcreating="RadScheduler1_FormCreating"
StartInsertingInAdvancedForm="True" AllowDelete="False"
SelectedView="WeekView" WeekView-GroupingDirection="Horizontal"
ColumnWidth="200px"
ShowAllDayRow="true" MinutesPerRow="30" GroupingDirection="Vertical">
<AdvancedForm Modal="true" />
<TimelineView UserSelectable="false" />
<ResourceTypes>
<telerik:ResourceType AllowMultipleValues="false" DataSourceID="SqlDataSource1"
ForeignKeyField="UserID" KeyField="UserID" Name="Users" TextField="UserName" />
</ResourceTypes>
<ResourceStyles>
<%--AppointmentStyleMode must be explicitly set to Default (see above) otherwise setting BackColor/BorderColor
will switch the appointments to Simple rendering (no rounded corners and gradients)--%>
<telerik:ResourceStyleMapping Type="Users" Text="ebarcza" ApplyCssClass="rsCategoryRed" />
<telerik:ResourceStyleMapping Type="Users" Text="Sean.Kelly" ApplyCssClass="rsCategoryPink" />
<telerik:ResourceStyleMapping Type="Users" Text="RandyPurser" ApplyCssClass="rsCategoryOrange" />
<telerik:ResourceStyleMapping Type="Users" Text="jSturm" ApplyCssClass="rsCategoryYellow" />
<telerik:ResourceStyleMapping Type="Users" Text="tMichel" ApplyCssClass="rsCategoryBlue" />
<telerik:ResourceStyleMapping Type="Users" Text="jDuff" ApplyCssClass="rsCategoryGreen" />
<telerik:ResourceStyleMapping Type="Users" Text="JennSturm" ApplyCssClass="rsCategoryViolet" />
<telerik:ResourceStyleMapping Type="Users" Text="Tentative" BackColor="red" />
<telerik:ResourceStyleMapping Type="Calendar" Text="Work" BackColor="#edd5b7" BorderColor="#cdb597" />
</ResourceStyles>
<Reminders Enabled="True" />
<AppointmentTemplate>
<div class="rsAptSubject" style="font-size:9px; height:50px;">
<%# Eval("Subject") %>
</div>
</AppointmentTemplate>
<TimeSlotContextMenuSettings EnableDefault="true" />
<DayView DayStartTime="06:00:00" WorkDayStartTime="06:00:00"
DayEndTime="20:00:00" WorkDayEndTime="20:00:00" />
<MonthView AdaptiveRowHeight="True" VisibleAppointmentsPerDay="10" />
<AppointmentContextMenuSettings EnableDefault="true" />
</telerik:RadScheduler>
I have been unable to narrow down the cause of this error. Any thoughts??
Thanks,
Brendan