System.Web.UI.WebControls.DetailsView.TopPagerRow Property

Gets a System.Web.UI.WebControls.DetailsViewRow object that represents the top pager row in a System.Web.UI.WebControls.DetailsView control.

Syntax

[System.ComponentModel.Browsable(false)]
[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
public virtual DetailsViewRow TopPagerRow { get; }

Value

Documentation for this section has not yet been entered.

Remarks

When paging is enabled (by setting the DetailsView.AllowPaging property to true), an additional row called the pager row is automatically displayed in the System.Web.UI.WebControls.DetailsView control. The pager row contains controls that allow the user to navigate to other records, and can be displayed at the top, the bottom, or both the top and bottom of the control. Use the DetailsView.TopPagerRow property to programmatically access the System.Web.UI.WebControls.DetailsViewRow object that represents the top pager row in the System.Web.UI.WebControls.DetailsView control.

Note:

The DetailsView.TopPagerRow property is available only after the System.Web.UI.WebControls.DetailsView control creates the bottom pager row in the DetailsView.ItemCreated event.

This property is commonly used when you need to programmatically manipulate the top pager row, for example when adding custom content. Any modification to the DetailsView.TopPagerRow property must be performed after the System.Web.UI.WebControls.DetailsView control has been rendered; otherwise, the System.Web.UI.WebControls.DetailsView control will overwrite any changes.

Requirements

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