Performance with ASP.NET AJAX - Part 1 - The Updatepanel(hockblogs.net)
submitted by
hockman(505) 3 years, 6 months ago
Hi there,
I've recently been struggling with performance issues while implementing an ASP.NET Repeater control with a large resultset (more than 1000 records binded to it) and especially this in combination with ASP.NET AJAX. I was heavilly suffering from performance issues, a lot of times my browser really frozes during asynchronous postbacks. Add to that a serious performance requirement that data should load within 1,5 seconds I soon figured out that a solution with and UpdatePanel, an ASP.NET Repeater server Control wasn't going to do it for me.
After reading Dave Ward's post on 'Use jQuery and ASP.NET AJAX to build a client side Repeater' I decided to rewrite my code to built a client-side repeater. During the development time that went into it, I'd tried multiple ways to achieve my goal, namely: Good Performance!
After my thorough investigation I thought it was my obligation to write some post about it and show you the different performances that I discovered. so I decided I was going to write a couple of articles on it. In this first article I will show you the following:
Performance with ASP.NET AJAX & Repeater Server Control - Part 1 - The Updatepanel
These are the following articles that I will soon be writing about.
* Performance with ASP.NET AJAX & Client Repeater Control - Part 2 - Using StringBuilder
* Performance with ASP.NET AJAX & Client Repeater Control - Part 3 - DOM Create element
* Performance with ASP.NET AJAX & Client Repeater Control - Part 4 - String Concatenation
But first this article!
These are the things I have done (which can be seen when you download the source files below):
1. Setting up a page with a generate data button to retrieve a set of 3000 person records
2. Setting up a local webservice that will get the data (could have been a PageMethod).
3. Adding an updatepanel to the page, in which the repeater was wrapped
4. Adding progress indication during the asynchronous loading operation.
5. Using client side script to show the loading time in milliseconds.
read more...
|category: AJAX
|Views: 52
tags:
AJAX another
Everyones tags:
Your Tags: