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

Changing SQLDataSource breaks the scheduler

1 Answer 46 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Steve
Top achievements
Rank 1
Steve asked on 31 Aug 2013, 05:56 PM
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?

1 Answer, 1 is accepted

Sort by
0
Boyan Dimitrov
Telerik team
answered on 05 Sep 2013, 06:52 AM
Hello,

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.

Regards,
Boyan Dimitrov
Telerik
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.
Tags
Scheduler
Asked by
Steve
Top achievements
Rank 1
Answers by
Boyan Dimitrov
Telerik team
Share this question
or