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
4133
BeginUpdate/EndUpdate For CalendarInfo Control?
posted

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.  

Parents
No Data
Reply
  • 23930
    Offline posted

    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.

Children
No Data