This documentation is archived and is not being maintained.

ListViewPagedDataSource Class

Encapsulates the paging-related properties of a ListView control.

Namespace:  System.Web.UI.WebControls
Assembly:  System.Web.Extensions (in System.Web.Extensions.dll)

[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public class ListViewPagedDataSource : ICollection, 
	IEnumerable, ITypedList

The ListViewPagedDataSource class encapsulates the properties that enable the ListView control to perform paging.

This class uses the best available method to enumerate the associated data. If the underlying data source supports indexed access (such as System.Array and System.Collections.IList objects), the class uses that access. Otherwise, the class uses the enumerator that is created by the GetEnumerator method.

For a list of initial property values for an instance of the ListViewPagedDataSource class, see the ListViewPagedDataSource constructor.


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5