Performace issue when loading appointments the first time

2 posts, 0 answers
  1. Håkan
    Håkan avatar
    183 posts
    Member since:
    May 2011

    Posted 18 Sep 2013 Link to this post

    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

  2. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 23 Sep 2013 Link to this post

    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 >>
  3. DevCraft banner
Back to Top