This is a migrated thread and some comments may be shown as answers.

Calendar SpecialDays FocusedDate

1 Answer 57 Views
Calendar, DateTimePicker, TimePicker and Clock
This is a migrated thread and some comments may be shown as answers.
John Zeweniuk
Top achievements
Rank 1
John Zeweniuk asked on 29 Jan 2010, 04:40 AM
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?

1 Answer, 1 is accepted

Sort by
0
Dobry Zranchev
Telerik team
answered on 03 Feb 2010, 01:48 PM
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.

Regards,
Dobry
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.
Tags
Calendar, DateTimePicker, TimePicker and Clock
Asked by
John Zeweniuk
Top achievements
Rank 1
Answers by
Dobry Zranchev
Telerik team
Share this question
or