Performance with ASP.NET AJAX - Part 1 - The Updatepanel(hockblogs.net)

submitted by hockmanhockman(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.

add a comment |category: |Views: 52

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

No comments so far

information Login or create an account to comment on this story