System.Web.UI.WebControls.DetailsView.PagerTemplate Property

Gets or sets the custom content for the pager row in a System.Web.UI.WebControls.DetailsView control.

Syntax

[System.ComponentModel.Browsable(false)]
[System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.InnerProperty)]
[System.Web.UI.TemplateContainer(typeof(System.Web.UI.WebControls.DetailsView), System.ComponentModel.BindingDirection.OneWay)]
[System.ComponentModel.DefaultValue(null)]
public virtual System.Web.UI.ITemplate PagerTemplate { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

A pager row is displayed in a System.Web.UI.WebControls.DetailsView control when the paging feature is enabled (by setting the DetailsView.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 DetailsView.PagerTemplate property. To specify a custom template for the pager row, first place <PagerTemplate> tags between the opening and closing tags of the System.Web.UI.WebControls.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 DetailsView.PagerStyle property.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0