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

Group by resource with custom Advanced Form

1 Answer 59 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
ADS Development Team
Top achievements
Rank 1
ADS Development Team asked on 17 Nov 2010, 10:34 AM
Hello Telerik,

We have followed the example to Replace the Edit Form and have had decent success so far. We now have a customized Advanced Form appearing in a RadWindow.

We would next like to group the appointments by a resource on the scheduler, but I'm not sure how this can be achieved - we are aware of the example provided for grouping by resource, but it assumes the developer is using the default templates.

What happens in the case that a custom advanced form is being used?

Regards

1 Answer, 1 is accepted

Sort by
0
ADS Development Team
Top achievements
Rank 1
answered on 17 Nov 2010, 03:51 PM
Update: it is possible to add the resource type from the code behind as such:

ResourceType rtRooms = new ResourceType("Room");
rtBays.DataSource = dsBays.GetBays();
rtBays.ForeignKeyField = "RoomID";
rtBays.KeyField = "ID";
rtBays.TextField = "Description";
RadScheduler1.ResourceTypes.Add(rtRooms);
RadScheduler1.GroupBy = "Room";

Tags
Scheduler
Asked by
ADS Development Team
Top achievements
Rank 1
Answers by
ADS Development Team
Top achievements
Rank 1
Share this question
or