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

Only show resources with appts

3 Answers 59 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Kevin Price
Top achievements
Rank 1
Kevin Price asked on 13 Dec 2010, 10:47 PM
Yea!!!! New requirements to an already functional project :)

I have now been asked to hide any resources (rooms) that do not have appointments for the currently viewed timeframe.
The good news is, in this app, the only displayed view is timeline view (7 days, 14 slots).
I'm sure I could maybe manipulate the provider more? Which I'm already doing to control which get shown by whether or not they have any appointments at all - or do some hack with getAppointmentsInRange, but how exactly would I apply that to the RadScheduler?

Thanks,
Kevin

3 Answers, 1 is accepted

Sort by
0
Veronica
Telerik team
answered on 20 Dec 2010, 09:23 AM
Hi Kevin Price,

Please accept my apologies for the late reply.

Could you please be more specific on what do you mean on: "hide any resources (rooms) that do not have appointments for the currently viewed timeframe". Do you want to hide the resources after the RadScheduler is grouped by "rooms"? If this is the issue - I'm not sure if this could be possible. I'll think of a workaround but please let me know if this is your requirement.

Greetings,
Veronica Milcheva
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
Kevin Price
Top achievements
Rank 1
answered on 21 Dec 2010, 05:32 AM
Basically, it needs to work like this...
Let's say we have 2 rooms RoomA and RoomB.
If I'm looking at the RadScheduler for the week of 1/1-1/7 and both rooms have appointments, they should both show.
I now click "next" to go to the next day/week/month/timeline...
If RoomA has an appointment and RoomB doesn't, only RoomA should show.
Default functionality (even in demos) is that if a room has an appointment anywhere in the database, it shows. I need to narrow this down to specifically the timeframe being viewed.

Thanks,
Kevin

0
Peter
Telerik team
answered on 24 Dec 2010, 01:02 PM
Hi Kevin,

Please, review this forum thread and let me know if you have further questions.


Best wishes,
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
Kevin Price
Top achievements
Rank 1
Answers by
Veronica
Telerik team
Kevin Price
Top achievements
Rank 1
Peter
Telerik team
Share this question
or