10.15. Further Control Enhancements

There are a number of control enhancements and a couple of miscellaneous new controls as well.

10.15.1. Wizard Control

The Wizard control now contains new templating functionality (LayoutTemplate).

10.15.2. ListView Enhancements

In previous versions of ASP.NET, when a row was selected within a ListView (or GridView) and the user moved to another page, the selection was maintained on the next page. This can be bad news if you then use this selection to perform an action on the selected record.

ASP.NET 4.0 resolves this problem with the new EnablePersistedSelection property. If EnablePersistedSelection is set to True, then row selection is maintained using the data key of each item.

Another welcome change ...

Get Introducing .NET 4.0: with Visual Studio 2010 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.