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

All schedules are displayed as recurring

1 Answer 47 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Debesh
Top achievements
Rank 1
Debesh asked on 03 Feb 2009, 01:42 PM
When I'm trying to bind data, all my schedules are displayed as recurring. Even some RecurrenceRule are null. This is displayed with  recurrence icon with a red line in it.



 

//Load Resources

 

 

ResourceType resourceType = new ResourceType();

 

resourceType.ForeignKeyField =

"UsersID";

 

resourceType.KeyField =

"UsersID";

 

resourceType.Name =

"Devices";

 

resourceType.TextField =

"Name";

 

resourceType.AllowMultipleValues =

true;

 

 

//Load Scheduled Events

 

RadScheduler1.DataKeyField =

"UserScheduleID";

 

RadScheduler1.DataStartField =

"BegDateTime";

 

RadScheduler1.DataEndField =

"EndDateTime";

 

RadScheduler1.DataSubjectField =

"Subject";

 

RadScheduler1.GroupBy =

"Devices";

 

RadScheduler1.DataRecurrenceField =

"RecurrenceRule";

 

RadScheduler1.DataRecurrenceParentKeyField =

"RecurrenceParentId";

 

listOfUserScheduleResources = userScheduleResourceRepository.FetchByUsersID(

Helper.LoadFromSessionAsInt(Helper.SessionKey.SelectedUserID));

 

resourceType.DataSource = listOfUserScheduleResources;

RadScheduler1.ResourceTypes.Add(resourceType);

listOfUserSchedule = userScheduleRepository.FetchByUsersID(

Helper.LoadFromSessionAsInt(Helper.SessionKey.SelectedUserID));

 

RadScheduler1.DataSource = listOfUserSchedule;

RadScheduler1.DataBind();

1 Answer, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 03 Feb 2009, 03:31 PM
Hello Debesh,

That's an unusual problem. Do you have a working demo which you can send to us via a support ticket?


Regards,
Peter
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Scheduler
Asked by
Debesh
Top achievements
Rank 1
Answers by
Peter
Telerik team
Share this question
or