Posted 05 May 2014
Link to this post
In my control, I have a WeekViewDefinition from monday to friday, from 8 am to 9 pm with a MinorTickLength of 15mins (with 2 resources). Each cells can be an appointment or a readonly slots. Each cell contain a UserControl, one UserControl for the appointment and another UserControl for the readonyl slot. Filling the grid take a lot of time (00:00:00.41 estimated) so I'm trying to find how I can fill only the visible parts and fill the none visible parts only when it's necessary like when the user scroll. Actually when the user click on the "Next week" or on the "Previous week" buttons, the control hang until all the data is displayed and react after that.
I need to know if the control have this kind of event to let my know the real visible area or do I have to change my approach to be more efficient?!?