Hello I have an issue with this component
1 - When I select more than 365 days I have an error poping saying "Too many days have been selected"
2 - Is it also possible to use the right click to create an appointement from a multiday selection
3 - is it possible to set the days of one appointement in a different color or in Italic or with a different background ?
Thanks for your time
Pierre
1. See UltraCalendarInfo.MaxSelectedDays property
2. The dates can be obtained from the UltraCalendarInfo.SelectedDateRanges collection.
Example:SelectedDateRanges selected = this.ultraMonthViewMulti1.CalendarInfo.SelectedDateRanges;
if ( selected.Count > 0 ){ // NOTE: since UltraCalendarInfo supports non-contiguous date // selection, dates between start and end are not necessarily // selected. DateTime start = selected[0].StartDate; DateTime end = selected[selected.Count - 1].EndDate; Appointment appointment = new Appointment(start, end);}
3. Use the UltraCalendarLook.GetDayLook method:
Example:UltraCalendarLook calendarLook = this.ultraMonthViewMulti1;DayLook dayLook = calendarLook.GetDayLook( someDate, true );dayLook.Appearance.BackColor = Color.Red;
hi
i used UltraMonthViewMulti control and my control look like below
if i navigate month year through left and right corner buttons
then how can i get the selected month and year from header?
Control :