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

RadScheduler Not displaying the recurring appointments

3 Answers 233 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
roshani
Top achievements
Rank 1
roshani asked on 17 Jan 2011, 01:33 PM
Hello All,
I am using radscheduler to set the appointments. All functionality has been done and working fine for simple appointments. As I tried to set up the recurring appointment appointments are generated and gets displayed on the radscheduler but when the page is refreshed on the currents date occurence gets displayed. While all this functinality was going good in my demo project but in the live application its not working? I am unable to understand the problem. Here I am giving my database structure and rad scheduler description.

<
telerik:radscheduler id="RadScheduler1" runat="server" datadescriptionfield="Description"
    dataendfield="End" datakeyfield="AppointmentId" datarecurrencefield="RecurrenceRule"
    datarecurrenceparentkeyfield="RecurenceParentId" datasourceid="SDSAppointments"
    datastartfield="Start" datasubjectfield="Subject" enabledescriptionfield="True"
    customattributenames="FlightHours,GroundHours,Comments,IsInactive,IsDelivered,IsEdited,IsDeleted"
    enablecustomattributeediting="True" allowdelete="False" onclientformcreated="OnClientFormCreated"
    onappointmentinsert="RadScheduler1_AppointmentInsert" onappointmentupdate="RadScheduler1_AppointmentUpdate">
<ResourceTypes>
 <telerik:ResourceType DataSourceID="SDSStudents" ForeignKeyField="CustomerId" 
 KeyField="CustomerID" Name="Students" TextField="StudentName" />
 <telerik:ResourceType DataSourceID="SDSLessons" ForeignKeyField="LessonTypeId" 
  KeyField="CategoryID" Name="Lessons" TextField="Name" />
 </ResourceTypes>
 </telerik:radscheduler>
Appointment Table
AppointmentId int
Subject nvarchar(50)
Start datetime
[End] datetime
LessonTypeId int
InstructorId int
CustomerId int
RecurrenceRule nvarchar(1024)
RecurenceParentId int
Description nvarchar(MAX)
IsInactive tinyint
IsDelivered tinyint
IsEdited tinyint
IsDeleted tinyint
FlightHours decimal(18, 0)
GroundHours decimal(18, 0)
Comments nvarchar(MAX)
 I am unable to understand the error.

Please reply as soon as possible.

Thanks,
Roshani

3 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 17 Jan 2011, 02:10 PM
Hi Roshani,

The online demos use a session data source, so any appointments you create will not be persisted after you refresh the page. As for the recurring appointments, we have replied in this forum post:

http://www.telerik.com/community/forums/aspnet-ajax/scheduler/need-individual-instances-of-a-recurring-appointment.aspx#1489955


Greetings,
Peter
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
0
roshani
Top achievements
Rank 1
answered on 18 Jan 2011, 05:08 AM
Hello,

Thanks for your reply but I am not talking about the online demos. I have prepared my demo application where I have used SqlDataSource control to retrive data from the database. Also I haven't use SesssionDataSource. y demo appplication is working fine but show only some occureneces not all the occurences of the perticular appointmnet. I have used same code in the working project. It is working fine for nonreccuring appointments but when I tried to insert a reccuring appointmnet it gets stored in the database and also gets displayed in the scheduler but when I refresh the page only the current date's appointments get displayed. Occurrences of these appointments and the master appointment for future dates are also not appearing.

I am unable to tress the error. Please help...
Thanks,
Roshani
0
Peter
Telerik team
answered on 18 Jan 2011, 03:56 PM
Hi roshani,

We will be glad to help you trace the problem, but we will need a simple working demo so we can debut it locally. Please, open a support ticket and send us one.

Greetings,
Peter
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Tags
Scheduler
Asked by
roshani
Top achievements
Rank 1
Answers by
Peter
Telerik team
roshani
Top achievements
Rank 1
Share this question
or