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

Scheduler performance concerns

2 Answers 95 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Li Zhou
Top achievements
Rank 1
Li Zhou asked on 07 Jul 2010, 06:48 PM
I am in the early staging of using RadScheduler.  So someone please advise if I may not understand it the right way.
1. I am working a custom sql provider, and override following method:
public override IEnumerable<Appointment> GetAppointments(RadScheduler owner)
from my understanding, all appointments will be loaded, then in the DataBinding event, those appointment filtered by resources will be set to invisible.

In my case, the number of Appointment will be huge, I would like to filter the appointment by resouces in earlier staging, e.g. in the stored procedures.  How do I pass in the resources filter in GetAppointments method?

2. Can someone help me on my post at http://www.telerik.com/community/forums/aspnet-ajax/scheduler/user-based-recources.aspx ?
The demo stated that the resource will be cached once retrieved, but from what I saw, GetResourcesByType is being called everytime page is postback.  What is the internal cache machenism RadScheduler already inplemented?

Thanks

2 Answers, 1 is accepted

Sort by
0
T. Tsonev
Telerik team
answered on 14 Jul 2010, 10:49 AM
Hello Li Zhou,

Currently, RadScheduler doesn't provide integrated mechanism to pass additional parameters to the GetAppointments method. For the moment you can use either the Session or page properties to pass additional information to the provider.

I've answered to your forum post as well. In summary, the caching is strictly optional and is up to the provider implementation.

Greetings,
Tsvetomir Tsonev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Li Zhou
Top achievements
Rank 1
answered on 14 Jul 2010, 02:06 PM
Tsvetomir ,

Thanks for your reply. that helps
Tags
Scheduler
Asked by
Li Zhou
Top achievements
Rank 1
Answers by
T. Tsonev
Telerik team
Li Zhou
Top achievements
Rank 1
Share this question
or