FormView.BottomPagerRow Property

 

Gets the FormViewRow object that represents the pager row displayed at the bottom of the FormView control.

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

[<BrowsableAttribute(false)>]
abstract BottomPagerRow : FormViewRow with get
[<BrowsableAttribute(false)>]
override BottomPagerRow : FormViewRow with get

Property Value

Type: System.Web.UI.WebControls.FormViewRow

A FormViewRow object that represents the bottom pager row of a FormView control.

When paging is enabled (when the AllowPaging property is set to true), an additional row called the pager row is automatically displayed in the FormView 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 BottomPagerRow property to programmatically access the FormViewRow object that represents the bottom pager row in the FormView control.

System_CAPS_noteNote

The BottomPagerRow property is available only after the FormView control creates the bottom pager row in the ItemCreated event.

This property is commonly used when you need to programmatically manipulate the bottom pager row, for example when adding custom content. Any modification to the BottomPagerRow property must be performed after the FormViewRow object that represents the bottom pager row has been created; otherwise, the FormView control overwrites any changes.

The following example demonstrates how to use the BottomPagerRow property to access the pager row displayed at the bottom of a FormView control. The pager row is then updated with additional content.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show: