DataPagerFieldItem Class
Represents a pager field item in a DataPager control.
Assembly: System.Web.Extensions (in System.Web.Extensions.dll)
[AspNetHostingPermissionAttribute(SecurityAction::LinkDemand, Level = AspNetHostingPermissionLevel::Minimal)] [AspNetHostingPermissionAttribute(SecurityAction::InheritanceDemand, Level = AspNetHostingPermissionLevel::Minimal)] public ref class DataPagerFieldItem : public Control, 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.
- AspNetHostingPermission
for operating in a hosted environment. Demand value: LinkDemand; Permission value: Minimal.
- AspNetHostingPermission
for operating in a hosted environment. Demand value: InheritanceDemand; Permission value: Minimal.
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.