DetailsView::PagerTemplate Property
Gets or sets the custom content for the pager row in a DetailsView control.
Assembly: System.Web (in System.Web.dll)
[BrowsableAttribute(false)] [PersistenceModeAttribute(PersistenceMode::InnerProperty)] [TemplateContainerAttribute(typeof(DetailsView))] public: virtual property ITemplate^ PagerTemplate { ITemplate^ get (); void set (ITemplate^ value); }
<asp:DetailsView> <PagerTemplate>ITemplate</PagerTemplate> </asp:DetailsView>
Property Value
Type: System.Web.UI::ITemplateA System.Web.UI::ITemplate that contains the custom content for the pager row. The default value is null, which indicates that this property is not set.
A pager row is displayed in a DetailsView control when the paging feature is enabled (by setting the AllowPaging property to true). The pager row contains the controls that allow the user to navigate to the different pages in the control. Instead of using the built-in pager row user interface (UI), you can define your own UI by using the PagerTemplate property. To specify a custom template for the pager row, first place <PagerTemplate> tags between the opening and closing tags of the DetailsView control. You can then list the contents of the template between the opening and closing <PagerTemplate> tags. To control the appearance of the pager row, use the PagerStyle property.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.