Connect with me
Search
Twitter Feed
Navigation
« Silverlight Slide Show | Main | Weekly Training - Debugging in Visual Studio 2008 »
Tuesday
Jul292008

Weekly Training - Working with large sets of data in ASP.NET

This weeks lunchtime training at SSW was about dealing with large (over 50,000 records) in ASP.NET. It was also my first screencast, so be sure to check out the video.

The Databound Drop Down List

I covered the disadvantages of trying to display a list of clients in a drop down list. The rendered page for 50,000 records

The drop down list:

  • Rendered out a 5MB page
  • Took 17 minutes to load on a dialup account

The RadComboBox

So instead we should use paging, search and AJAX to reduce the initial hit and only load what you actually need.

I used a very versatile control from Telerik called the RadComboBox. It has support for AJAX calls (ItemsRequested event) as well as virtual scrolling.

This reduced the rendered page to:

  • 155KB (150KB cached javascript resource files)
  • loading in a few seconds

Resources

Reader Comments

There are no comments for this journal entry. To create a new comment, use the form below.

PostPost a New Comment

Enter your information below to add a new comment.

My response is on my own website »
Author Email (optional):
Author URL (optional):
Post:
 
Some HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>