Q: I'm using Telerik RadScheduler with data from two tables:
- Course (courseCode,CourseTitle)
- CourseTime(id,from,to,courseCode),the id is auto incremented
In the codebehind the Scheduler is bound to an ObjectDataSource:
rs.DataSourceID = ObjectDataSource1.ID;
rs.DataKeyField = "id";
rs.DataStartField = "from";
rs.DataEndField = "to";
rs.DataSubjectField = "courseTitle";
rs.DataBind();
When updating a course I want to update its name. For this I need to access the courseCode. The ObjectDataSource1 contains the courseCode, but I don't know how to bind it to the Scheduler control.
When inserting a new course I want to have a dropdownlist in the edit popup form, with a list of courses from the Course table.
I looked at the Telerik schedule samples and demos but i didn't understand the whole idea. It would appreciate a simple code example showing how to bind more data to Scheduler appointments, and how to add new controls to the edit form.