Filter Multi-Valued Resource Demo

2 posts, 0 answers
  1. heavywoody
    heavywoody avatar
    85 posts
    Member since:
    Oct 2009

    Posted 07 Feb 2011 Link to this post

    I implimented the DBSchedulerProviderBase per your sample and it works fine for multi-resource items.  What I am trying to figure out now is how to filter it, since the SQL Logic is hardcoded into the GetAppointments method.  I have two comboboxes above the schedule that when I change those items, it should filter the appointments shown.  But I am unsure of how to do that when the select statement is hardcoded into the GetAppointments Method
  2. Peter
    Peter avatar
    6637 posts

    Posted 08 Feb 2011 Link to this post

    Hello Christian,

    Please, refer to this forum post:

    In general, you can use the approach from the Sending additional information to the provider help topic. For server-side binding, use the AppointmentsPopulating server event to pass the filter criteria to the provider:

    protected void RadScheduler1_AppointmentsPopulating(object sender, AppointmentsPopulatingEventArgs e)
       e.SchedulerInfo = new MySchedulerInfo(e.SchedulerInfo, User.Identity.Name);

    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.
Back to Top