Sorry if my grammar is not absolutely correct. I'm not a native speaker.
I need to navigate through a calendar with ViewType='Resources' like it was a ViewType='Day'. In my MVC controller I have created my columns like follows:
protected override void OnInit(InitArgs e)
var db = new DBContext();
Column today = new Column(StartDate.ToShortDateString(), StartDate.ToString("s"));
today.Date = StartDate;
foreach (var user in db.Users.Where(u => u.Role == Role.Technician))
today.Children.Add(user.Name, Convert.ToString(user.UserId), StartDate);
FillCalendar();//here I upload my events from my database
in my view I have the following:
@Html.DayPilotCalendar("dp_day", new DayPilotCalendarConfig
ViewType = DayPilot.Web.Mvc.Enums.Calendar.ViewType.Resources,
but when I click in my navigator, my calendar is not getting updated despite the StartDate in my OnCommand method is updated correctly.
Please I need your help!