I am following http://www.telerik.com/help/aspnet-ajax/schedule_databindingimplementingaproviderthatsupportsmultivaluedresources.html to create a custom provider and I have some questions:
I want to create user based resources, i.g. each user can create their own resources, or "tag". Each appointment can have one or multiple "tags". User can sort appointment based on the custom "tags".
In the article, it states that
"Implement the GetResourcesByType method to supply the scheduler with a list of possible values given a resource type. This requires a query to the database to obtain the list of values. Once retrieved, the resources are cached. "
Is it possible to cache the resources based on a userID (a guid) ? Do you provide any interface to override the Cache key? What is the build-in Cache invalidation machenism? If one user modifed his custom resources, how to make it not effect other users resourcs?
Thanks!
I want to create user based resources, i.g. each user can create their own resources, or "tag". Each appointment can have one or multiple "tags". User can sort appointment based on the custom "tags".
In the article, it states that
"Implement the GetResourcesByType method to supply the scheduler with a list of possible values given a resource type. This requires a query to the database to obtain the list of values. Once retrieved, the resources are cached. "
Is it possible to cache the resources based on a userID (a guid) ? Do you provide any interface to override the Cache key? What is the build-in Cache invalidation machenism? If one user modifed his custom resources, how to make it not effect other users resourcs?
Thanks!