When a user clicks on the triangle for Get more Appointments, how can I get the date. I can do calendarinfo.activeday.date to get the active day, but clicking on the triangle does not make it the active date. Can I make the day that the user clicks on the triange the active day in the
UltraMonthViewSingle1_MoreActivityIndicatorClicked event. Thx
The event args has what you need. In my case when the user clicks that triangle i am sending them to a day view with this day as the active day.
private void _monthView_MoreActivityIndicatorClicked(object sender, MoreActivityIndicatorClickedEventArgs e) { // Unselect all the selected days if (this.ultraCalendarInfo1.SelectedDateRanges.Count > 0) foreach (Infragistics.Win.UltraWinSchedule.Day day in this.ultraCalendarInfo1.SelectedDateRanges[0].Days) { ultraCalendarInfo1.GetDay(day.Date, false).Selected = false; } ultraCalendarInfo1.GetDay(e.Day.Date, true).Activated = true; this._dayView.Visible = true; this._monthView.Visible = false; this._weekView.Visible = false; FormatHeaderString(); }
Excatly what I needed, thank you.
No problem, be sure to return the favor to someone else.
I haven't found good documention on how to use these tools so we are stuck with these forums.