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

Performance Issues when displaying 15 minute appointments

1 Answer 40 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Stephen
Top achievements
Rank 1
Stephen asked on 21 Aug 2013, 08:14 AM
Hi

I have a RadScheduler which is displaying appointments of 15 minutes each, over a period between 11am - 9pm in week view. (364 appointments)

It takes about 9 seconds to load each time I navigate to a different week but only 1 second when viewing in day view.

I'm running on localhost so I don't think it's the database query and I'm returning only the visible appointments in the query:
var sessions = db.CableSessions.Where(o => o.StartTime > start && o.StartTime < schedulerInfo.ViewEnd).OrderBy(o => o.StartTime);

I am using Webservices to populate the radscheduler.

Is it normal for it to take this long to display 364 appointments? Maybe I'm being too ambitious. Is there anything else I could be doing to speed up the display of the appointments?

Thanks

[edit]:
I have since noticed that this performance issue only occurs when I run the application using CTRL+F5. When I open the page in a different browser, or close the browser and open it again to the same page, the performance issue is resolved.

1 Answer, 1 is accepted

Sort by
0
Jayesh Goyani
Top achievements
Rank 2
answered on 21 Aug 2013, 11:31 AM
Hello,

ctrl+F5 / ctrl+r : It will return new content every time. (forces a cache refresh)
F5 + Open the Page : If it will open the first time then it will return new content else (second time) it will return content from the cache.

For more information please check this link : http://stackoverflow.com/questions/385367/what-requests-do-browsers-f5-and-ctrl-f5-refreshes-generate

...............

You already used web service binding then it will create ViewState for this control. Then also please set disable the viewstate in this control.
and in addition also compress the your page viewstate to improve the page performance.

Thanks,
Jayesh Goyani
Tags
Scheduler
Asked by
Stephen
Top achievements
Rank 1
Answers by
Jayesh Goyani
Top achievements
Rank 2
Share this question
or