private void SmallCalendar_OnSelectedDatesChanged(CalendarView sender, CalendarViewSelectedDatesChangedEventArgs args) { if (sender.SelectedDates.Count == 0) { return; } BigCalendar.SetDisplayDate(sender.SelectedDates.FirstOrDefault()); }
public ActionResult Index(CurrentDateVM data) { CalendarCreator Calendar = new CalendarCreator(data); BigCalendar myCalendar = new BigCalendar { calendar = Calendar.create() }; return(View(myCalendar)); }