Calendar SpecialDays FocusedDate

2 posts, 0 answers
  1. John Zeweniuk
    John Zeweniuk avatar
    3 posts
    Member since:
    Jul 2009

    Posted 28 Jan 2010 Link to this post

    I have a RadCalendar which I dynamically change the SpecialDays whenever  the month view changes to add a series of custom controls to that month.  Each day in the month gets the custom control inserted whenever the month changes. The performance isn't great but it is acceptable except when I navigate to the month containing the FocusedDate when the adding of the custom controls takes close to 5 seconds to insert and draw the controls.  Is there anything I can do to speed up the rendering of the FocusedDate month?

    Incidentally, if I change months by clicking the navigation button the specialday controls populate for the following month fairly quickly.  If I try to navigate to the next month by pressing the arrow key I get the same very slow update as navigating to the FocusedDate month...

    Any solutions?
  2. Dobry Zranchev
    Dobry Zranchev avatar
    353 posts

    Posted 03 Feb 2010 Link to this post

    Hi John Zeweniuk,

    Generally, it is normal to experience some performance issues when you are using a large number of controls since controls are heavy objects and it may be time consiming to create many instances at once. It will be better if you cache instances and reuse them when needed. Still, we are not sure what may cause a delay of 5 seconds on your side. Therefore, I would kindly ask you to send us a project which demonstrates the performance issues. This will allow us to investigate your case and suggest perorformance optimizations if such are available.

    the Telerik team

    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
    Follow the status of features or bugs in PITS and vote for them to affect their priority.
Back to Top