<telerik:RadScheduler runat="server" ID="RadScheduler1" Width="100%" DataKeyField="Id" DataSubjectField="Subject" DataStartField="StartDate" DataEndField="EndDate" DataRecurrenceField="RecurrenceRule" DataRecurrenceParentKeyField="RecurrenceParentID" Height="800px" SelectedView="WeekView" OnAppointmentInsert="RadScheduler_OnInsert" OnAppointmentUpdate="RadScheduler_OnUpdate" OnAppointmentDelete="RadScheduler_OnDelete" EnableDescriptionField="true" AppointmentStyleMode="Default" ShowFooter="true" StartInsertingInAdvancedForm="true" StartEditingInAdvancedForm="true" Reminders-Enabled="false" OnAppointmentDataBound="RadScheduler1_AppointmentDataBound" OnAppointmentCreated="RadScheduler1_AppointmentCreated" Skin="Vista" DataDescriptionField="Description" DataReminderField="Reminder"> <TimeSlotContextMenuSettings EnableDefault="true" /> <AppointmentContextMenuSettings EnableDefault="true" /> <AdvancedForm Modal="true" /> <ResourceTypes> <telerik:ResourceType KeyField="UserId" Name="User" TextField="UserNameFull" ForeignKeyField="AdverUserID" DataSourceID="ObjDataSourceUsers" /> </ResourceTypes> <AppointmentTemplate> <div> <asp:panel id="pRecurrence" runat="server" cssclass="rsAptRecurrence" visible="false" /> <asp:panel id="pReminder" runat="server" cssclass="rsAptReminder" visible="false" /> <asp:panel id="pRecurrenceException" runat="server" cssclass="rsAptRecurrenceException" visible="false" /> <%#Eval("Subject") %> <small>(<%#Eval("Start","{0:hh:mm}")%>)</small> </div> <hr /> <div style="height: 30px;"> Assigned to: <strong> <asp:label id="lUser" runat="server" text='<%# Container.Appointment.Resources.GetResourceByType("User") == null ? "Geen" : Container.Appointment.Resources.GetResourceByType("User").Text %>' /> </strong> </div> </AppointmentTemplate> </telerik:RadScheduler> <asp:objectdatasource id="ObjDataSourceUsers" runat="server" typename="Data.Core.Aspnet_User" selectmethod="GetAllActive"></asp:objectdatasource>We use the laste version of telerik Q3 2011 and we just implement the scheduler in our application.
We have differents problems and until now no solution for it.
1/ When we navigate in the scheduler (selectedView is WeekView) after a couple of click the design is completely broked (see print screen in attachment). This problem is present only in IE9.
2/ We use OnAppointmentInsert, OnAppointmentDatabound, OnAppointmentCreated, etc to Insert, update and deleten an appointment.
When we create a new appointment is not a problem. The scheduler show directly the new appointment. If we want to update or delete this appointemnt nothing append. When I debug with VisualStudio also nothing append. If I refresh the all page and try again than is working wel.
The core that we use is :
For ASPX
The code C#:
protected void RadScheduler_OnInsert(object sender, AppointmentInsertEventArgs e) { Save(0,e.Appointment); } protected void RadScheduler_OnUpdate(object sender, AppointmentUpdateEventArgs e) { var apId = e.ModifiedAppointment.ID; Save(int.Parse(apId.ToString()),e.ModifiedAppointment); } protected void RadScheduler_OnDelete(object sender, AppointmentDeleteEventArgs e) { var apId = e.Appointment.ID; Appointment.DeleteById(int.Parse(apId.ToString())); }