Hello,
I am evaluating the RadScheduler and have run into a problem. I created a control, dragged the scheduler and followed the instructions in the tutorial about creating the class myDBSchedulerProvider. In addittion, I added the following in the Page_Load event:
if (!IsPostBack)
{
MyDbSchedulerProvider schedulerProvider = new MyDbSchedulerProvider();
RadScheduler1.Provider = schedulerProvider;
RadScheduler1.SelectedView = SchedulerViewType.MonthView;
}
The scheduler displays but it doesn't fetch any data. If I click on the navigation arrows, or change the selected view, it gives an error saying that DataKeyField, DataSubjectField,etc are missing for databinding. Do I have to map those to a DB field? or do I need to create a custom class for the appointment and map to its properties?
If anybody could provide some sample code I'd appreciate.
Thanks.
I am evaluating the RadScheduler and have run into a problem. I created a control, dragged the scheduler and followed the instructions in the tutorial about creating the class myDBSchedulerProvider. In addittion, I added the following in the Page_Load event:
if (!IsPostBack)
{
MyDbSchedulerProvider schedulerProvider = new MyDbSchedulerProvider();
RadScheduler1.Provider = schedulerProvider;
RadScheduler1.SelectedView = SchedulerViewType.MonthView;
}
The scheduler displays but it doesn't fetch any data. If I click on the navigation arrows, or change the selected view, it gives an error saying that DataKeyField, DataSubjectField,etc are missing for databinding. Do I have to map those to a DB field? or do I need to create a custom class for the appointment and map to its properties?
If anybody could provide some sample code I'd appreciate.
Thanks.