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

Performace issue when loading appointments the first time

1 Answer 34 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Håkan
Top achievements
Rank 1
Håkan asked on 18 Sep 2013, 07:48 AM
Hi!

I have a performace issue.
I load about 1200 appointments and use this line of code to add them to the ScheduleView:
Telerik.Windows.Controls.CollectionExtensions.AddRange(viewModel.Appointments, appointments);

The first time I do this it takes about 15 seconds for that single line of code to execute.
If I reload the data from the database and add them againg, it only takes about 2 seconds.

What is the reason for this?
Is there some kind of initialization of the ScheduleView that is performed the first time?
Is there something I can do to shorten this time, it is very annoying for our customers?

Unfortunately because of software regulations at our largest customer we are stuck with Silverlight 4 at the moment, so keep that in mind when answering my question.

By the way, are there any huge performance boost if upgrading to the latest SIlverlight 5 version from the last 4 version?
We could use some good arguments for our customer to upgrade to version 5.

Regards,
Håkan

1 Answer, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 23 Sep 2013, 08:38 AM
Hi Håkan,

We have tested loading 1200 appointments at once  in a simple RadScheduleView project with Q2 2012 SP2 release ( the latest one which includes Silverlight 4 assemblies), but weren't able to reproduce this performance issue. Could you please give us more details on your project and/or send us some sample code?

Looking forward to your response.

Regards,
Yana
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
ScheduleView
Asked by
Håkan
Top achievements
Rank 1
Answers by
Yana
Telerik team
Share this question
or