In my application, calendar control is working fine on month and week view mode with below mention code but when I switch to Day view it does not show the activities for each owner.
When I try to bind "OwnerDataSource" property in DayView calendar mode, the calendar is unable to bind records with respect to particular Owner records. How
can I bind records in dayview with particular owner set. Please review below sample code:
Owner Properties:calendar.OwnerDataTextField = "Detail";
calendar.OwnerDataValueField = "Id";
Sample Code:![]()
DataView dv = new DataView(dsSchedule.Tables["Activity"]);
calendar.DataSource = dv;
calendar.OwnerDataSource = dsSchedule.Tables["Owners"];
calendar.HolidayDataSource = dsSchedule.Tables["Holidays"];
calendar.DataBind();
Thanks In Advance!