Slow performance in RadModalWindow

2 posts, 1 answers
  1. Fredrik
    Fredrik avatar
    54 posts
    Member since:
    Sep 2010

    Posted 24 Nov 2011 Link to this post

    Hi !!

    I have a RadModalWindow that contains a RadCalendar.
    I have restyled the Calandar with my own colors for the gridlines, dates etc. No special dates.
    When I'm having the RadModalWindow poping up it takes a significant amount of time (2-3 sek on the device) for the window to show up
    and I'm getting many CPU bound storyboards indicators in the Performance Analysis indicating a slow drawing time for the RadCalendar.

    How can I speed up things or have the ModalWindow showing while the calendar is drawing?

    Regards

    Fredrik
  2. Answer
    Georgi
    Admin
    Georgi avatar
    296 posts

    Posted 29 Nov 2011 Link to this post

    Hi Fredrik,

    Thanks for your question.

    RadCalendar is a heavier control with lots of visuals and complex logic behind. Generally RadWindow will wait for the hosted control to load and then open itself with an animation. You may try to remove Window's animations which will improve the performance a bit but still, it will not be instant. I think a better solution in your case is to have the calendar on a separate page, not displaying it on the current one which have other visuals on it, increasing the overall fill rate and performance.

    Most of the Calendar's loading time is taken by the creation of the grid cells - ContentControl instances. If we use ContentPresenter instances then it would be faster but we will lose the styling capabilities of each cell. We will perform some additional measurements to see whether something may be improved.

    I hope this information is useful. Let me know if I can assist you in some other way.

    Kind regards,
    Georgi
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. DevCraft banner
Back to Top