I have been profiling my application and it is spending a lot of time loading the work schedule and holidays for my owners into the CalendarInfo control. I am using the BeginUpdate/EndUpdate calls with the schedule controls that utilize the CalendarInfo control, but noticed that there doesn't seem to be any BeginUpdate/EndUpdate associated with the CalendarInfo control. Is there another way to accomplish the same thing.
Hi Richard,
Thank you for posting in our forums.
We provide Begin/EndUpdate methods to all our controls. The reason why the UltraCalendarInfo doesn’t have such method is because it is a Component, not a Control. As such it doesn’t have any drawing logic and there is no point to use methods like the Begin/EndUpdate, which prevent the drawing. My suggestion is to use the Begin/EndUpdate methods of the controls, which are associated with the UltraCalendarInfo.
Also, for the sake of completeness, I would like to mention that we do have some Components that offer such methods. However they own other controls that the user haven’t directly added to the form. Such Component is for example the UltraToolbarsManager.
Please let me know if you have any additional questions.