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

[Solved] ResourcePopulationMode = Manual

1 Answer 123 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Alex
Top achievements
Rank 1
Alex asked on 26 Oct 2009, 01:31 PM
I have set my scheduler's ResourcePopulationMode to manual as described on this (broken link filled) page http://www.telerik.com/help/aspnet-ajax/telerik.web.ui-telerik.web.ui.schedulerwebservicesettings-resourcepopulationmode.html

I would like to find out what exactly I need to do to assign the resources correctly on page init.

1 Answer, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 28 Oct 2009, 01:12 PM
Hi Alex,

Please, refer to this help topic: http://www.telerik.com/help/aspnet-ajax/resource_grouping.html.

Here is sample code to add resources in manual mode:

protected void Page_Load(object sender, EventArgs e)
{
  RadScheduler1.ResourceTypes.Add(new ResourceType("User"));
  RadScheduler1.Resources.Add(new Resource("User", "1", "Alex"));
  RadScheduler1.Resources.Add(new Resource("User", "2", "Bob"));
  RadScheduler1.Resources.Add(new Resource("User", "3", "Charlie"));
}



Kind regards,
Peter
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Scheduler
Asked by
Alex
Top achievements
Rank 1
Answers by
Peter
Telerik team
Share this question
or