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

ScheduleView performance issue

1 Answer 68 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Vasiliy
Top achievements
Rank 1
Vasiliy asked on 02 Dec 2012, 11:39 AM
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.

1 Answer, 1 is accepted

Sort by
0
Miroslav Nedyalkov
Telerik team
answered on 05 Dec 2012, 09:07 AM
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.

Regards,
Miroslav Nedyalkov
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
ScheduleView
Asked by
Vasiliy
Top achievements
Rank 1
Answers by
Miroslav Nedyalkov
Telerik team
Share this question
or