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

Resources and grouping

6 Answers 91 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Ana
Top achievements
Rank 1
Ana asked on 15 Sep 2008, 12:13 PM
Hi! There is a radscheduler whose datasource is a list of appointments, each of them having one or more resources. (There is many-to-many relationship between appointments and resources). Also, there is a checkboxlist of resources, used for binding resurce type of a scheduler. How can I group scheduler by that resource type, to look like in your example on http://demos.telerik.com/ASPNET/Prometheus/Scheduler/Examples/ResourceGrouping/DefaultCS.aspx? (I would like it to have as many columns as number of boxes cheked in checkboxlist). As I understod, relationsheep should be one-to-many or I have to set some appointmentProviders in webconfig?

This is what a have:

<

telerik:RadScheduler runat="server" ID="RadScheduler1" Skin="<%$ AppSettings: SchedulerSkin%>"Width="750px" StartEditingInAdvancedForm="false" SelectedView="MonthView" DataKeyField="ID"DataSubjectField="Subject" DataStartField="Start" DataEndField="End" DataRecurrenceField="RecurrenceRule"DataRecurrenceParentKeyField="RecurrenceParentID" EnableEmbeddedSkins="true" OverflowBehavior="Expand">
<ResourceTypes><telerik:ResourceType TextField="Naziv" KeyField="ResursID" Name="Resurs"/>
</ResourceTypes></telerik:RadScheduler>



I bind scheduler in code behind, and I want to do that with the resource type to, as simplier as it can be. Please help. Thanks,
Ana

6 Answers, 1 is accepted

Sort by
0
Simon
Telerik team
answered on 16 Sep 2008, 11:13 AM
Hi Ana,

RadScheduler supports Resource Grouping only by one Resource at a time. The only exception is the special 'Date' Resource. For example, if you set the GroupBy property of the Scheduler to "Date,User", Appointments will be grouped by Date and by the 'User' Resource.

However, you could achieve a similar to the 'multi-resource grouping' functionality in the a similar manner as shown in this example. That is, you could have a CheckBoxList and upon checking of the various options load data for the corresponding selected Resources.

I hope this will be useful.

Greetings,
Simon
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Ana
Top achievements
Rank 1
answered on 16 Sep 2008, 11:29 AM
Thanks for your answer, but I have already solved the problem.
Ana
0
Alan Wang
Top achievements
Rank 1
answered on 07 Jul 2012, 10:22 AM
Ana,

I am looking for a solutions for group by multiple resources, and wondering if you could share your answer with me.

Thanks in advanced.

Alan
0
Plamen
Telerik team
answered on 09 Jul 2012, 12:55 PM
Hello Alan,

 
You can refer to our Multiple Resources demo where you can group by adding GroupBy="Room" for example and this help topic where is given more information about the provider that supports Multi-valued Resources.

Hope this will be helpful.

Greetings,
Plamen Zdravkov
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Alan Wang
Top achievements
Rank 1
answered on 09 Jul 2012, 01:04 PM
Hi Plamen,

Thank you very much for your reply, I checked the link you posted. But there is no place to mention group by multiple resources.  For example, GroupBy="user, room".

Please let me know if Scheduler control supports the GroupBy Multiple Resource.

Thanks
Alan
0
Plamen
Telerik team
answered on 09 Jul 2012, 03:22 PM
Hello Alan,

Grouping by more than one ResourceTypes at the same time is currently not supported in RadScheduler.


All the best,
Plamen Zdravkov
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Scheduler
Asked by
Ana
Top achievements
Rank 1
Answers by
Simon
Telerik team
Ana
Top achievements
Rank 1
Alan Wang
Top achievements
Rank 1
Plamen
Telerik team
Share this question
or