I have many customers that have hundreds of jobs scheduled on their calendars and looking for one by the project number without knowing what day it's on can be a daunting task.
I wanted to write a search that they can type in a project number and have it go to the first appointment matching. I can loop through the appointments and find the one I want and set the selected property, but there doesn't seem to be a way to ensure that it is visible in the calendar. Can anyone shed some light on how to do this?
Thanks
Hello,
Thank you for contacting Infragistics.
How you do this depends on the WinSchedule control you're using. For the UltraDayView you can set the selected date to the date the appointment falls on and then call EnsureTimeSlotVisible() and pass in the starting time of the appointment.
My customers use all of the calendars (we went with your example of using a tab control to let users switch between them). So, is there any example of how to do this for the other types of calendars? I didn't see a SelectedDate property on the MonthViewSingle control or WeekView. I did see a Day property, but the appointment has a StartDate and time that is not of the same type as the Day of a calendar