Hello,
How to get the date value which have been selected in UltraMonthViewMulti Control.
Reply soon
With Regards
A.K.Gnanaavel
Sorry, I see that I did not explicitly state that the events are exposed by UltraCalendarInfo (not UltraMonthViewMulti).
I am working with the UltraMonthViewMulti control and your answer helped as I had the same question. However, I am confused about your comment about the two events that fire when the selection changes. I am using 2007 .3 and these events do not exist for the control.
How am I supposed to tell when the selection changes?
thanks,
dama
The control exposes a property, CalendarInfo, which returns the associated UltraCalendarInfo component. This component exposes a property, SelectedDateRanges, which returns a collection of DateRange objects. Each DateRange object exposes a StartDate and EndDate property; these dates represent the start and end of the date range. This might seem overly complicated, but it is structured this way because UltraCalendarInfo supports discontiguous date selection. Also note that there are 2 events that fire when the date selection changes, BeforeSelectedDateRangeChange and AfterSelectedDateRangeChange.