Summary

I’m a huge fan of the new ListView and DataPager controls. I’m constantly running into layout limitations when using the GridView control. Because ListView is entirely template-driven, it is not subject to these same limitations.

In this chapter, you learned how to use the ListView control to display, sort, edit, and insert data. You also learned how to take advantage of the DataPager control to add paging to the ListView control. You learned how to create a custom pager template and how to perform data source paging.

Get ASP.NET 4 Unleashed 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.