Changing SQLDataSource breaks the scheduler

2 posts, 0 answers
  1. Steve
    Steve avatar
    84 posts
    Member since:
    Aug 2013

    Posted 31 Aug 2013 Link to this post

    I have a resource schedule that I'm trying to build. I am following one of the samples in the documentation and realized I bound the customers to the resource, instead of the employees. So I changed the SQLDataSource to use the employees stored procedure instead of the customers. I tested the query in the SQLDatasource and it pulls data fine. I went into the ResourceTypes property for the schedule and deleted the member in the collection and added a new member. I selected SqlDataSource2 as the DataSoruceID. When I click the dropdown for any of the other properties to be set for the resource type, they are all blank.

    I checked the SQLDataSource and it's fine. The only way to get the schedule to recognize the change in the SQLDataSource, is to delete the radscheduler control from the page and add it again, and reconfigure. Then the schedule will pick it up fine. If I try to change the SQLDatasource again, then it drops everything and I have to delete and add the radscheduler control all over again, and reconfigure.

    This is a real nuisance! Looks like a bug to me! Is anyone else experiencing this, or am I just special?
  2. Boyan Dimitrov
    Boyan Dimitrov avatar
    1969 posts

    Posted 05 Sep 2013 Link to this post


    Please try to reconfigure the modified resource data source control as shown in the attached image in order to have all changes properly applied. There is no need of deleting, adding and reconfiguring the RadScheduler itself, only the modified resource data source control( in this case SqlDataSource4 control). Let's assume that the SqlDataSource4 is the modified resource data source.

    Hope that this will be helpful.

    Boyan Dimitrov
    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 the blog feed now.
Back to Top