This documentation is archived and is not being maintained.

DataPagerFieldItem Class

Represents a pager field item in a DataPager control.

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

public class DataPagerFieldItem extends Control implements INamingContainer
<asp:DataPagerFieldItem />

An instance of the DataPagerFieldItem class is created to hold the pager controls in a DataPager control. The INamingContainer interface is a marker that indicates that the container control represented by the DataPagerFieldItem class is part of the Page object's control hierarchy.

The DataPagerFieldItem class is typically used in the handler for the PagerCommand event of a TemplatePagerField object. It is used to access controls inside the TemplatePagerField object and to access the properties of the DataPager control. The DataPagerCommandEventArgs.Item property represents the pager field item.


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