How do I make a calendar show a date that I fetch from another control? The fetched date is 'date' and will be different every time.
To show the current date I do this:
CalendarMyMeetings.SelectedDate = System.DateTime.Today;
...so I'm guessing I need to replace 'Today' with 'date', but I just can't get it to work.
I've tried:
CalendarMyMeetings.SelectedDate = System.DateTime(date);
CalendarMyMeetings.SelectedDate = System.DateTime.(date);
CalendarMyMeetings.SelectedDate = System.DateTime.Convert.ToDateTime(date);
and some other variations as well. Thankful for help!