ScheduleView performance issue

2 posts, 0 answers
  1. Vasiliy
    Vasiliy avatar
    1 posts
    Member since:
    Jun 2011

    Posted 02 Dec 2012 Link to this post

    Dear Sir/Madam

    I have an issue with displaying longer periods in the scheduler control. The data is already paginated, so I don't have more than 50 records per screen (see GUI.png  attached)
    However selecting One month or Two month view is causing significant delays. I have profiled the application and I see that most of the time is taken by MS.Internal.XcpImports.MeasureNative(IntPtr, Single, Single) - please see profiling.png attached.

    Please advice me on a potential cause of the issue. I can provide any kind of additional information if needed.
    Thanks in advance.
  2. Miroslav Nedyalkov
    Miroslav Nedyalkov avatar
    1718 posts

    Posted 05 Dec 2012 Link to this post

    Hello Vasiliy,

    From the screenshot you provided it seems you have a lot of appointments visible at the same time - I counted about 1200 appointments. This generates a lot of visual elements and so many elements in the VisualTree makes the layout really slow. The only thing I would suggest you is to change the MinTimeRulerExtent to some value big enough to show a horizontal scroll bar. This will activate the ScheduleView UI virtualization and will greatly improve the performance. I would advise you to keep the appointments visible at the same time to not exceed 300.

    Hope this helps.

    Miroslav Nedyalkov
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. DevCraft R3 2016 release webinar banner
Back to Top