AJAX-type grids

A common requirement is to show data in the form of a grid, and to allow the visitor to update the data. ASP.NET provides the GridView control for this purpose. It is reasonably flexible and feature-rich, but doesn't perform well because every update by the visitor leads to a page refresh. It can also generate a lot of ViewState overhead. If you receive a lot of traffic to pages using GridView controls, consider replacing them with AJAX-type grids. Because these submit changes asynchronously, you'll wind up with greater responsiveness and reduced bandwidth usage.

When it comes to implementing an AJAX-type grid, you have a number of options:

  • Use a simple readymade, free, and lightweight grid control
  • Buy a grid control with lots of ...

Get ASP.NET Site Performance Secrets now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.