DetailsView.PagerTemplate Property
.NET Framework 3.0
Gets or sets the custom content for the pager row in a DetailsView control.
Namespace: System.Web.UI.WebControls
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
[TemplateContainerAttribute(typeof(DetailsView))] public: virtual property ITemplate^ PagerTemplate { ITemplate^ get (); void set (ITemplate^ value); }
/** @property */ public ITemplate get_PagerTemplate () /** @property */ public void set_PagerTemplate (ITemplate value)
public function get PagerTemplate () : ITemplate public function set PagerTemplate (value : ITemplate)
Not applicable.
Property Value
A 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.
Community Additions
ADD
Show: