Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1285
EnsureVisible on an appointment?
posted

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

Parents
  • 18495
    posted

    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.

Reply Children