PagerSettings::Position Property
.NET Framework (current version)
Gets or sets a value that specifies the location where the pager is displayed.
Assembly: System.Web (in System.Web.dll)
public: property PagerPosition Position { PagerPosition get(); void set(PagerPosition value); }
Property Value
Type: System.Web.UI.WebControls::PagerPositionOne of the PagerPosition values. The default is Bottom.
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | The Position is set to a value that is not one of the PagerPosition values. |
Use the Position property to specify the location at which to display the pager. The following table describes the different positions.
Position | Location |
|---|---|
The bottom of the control. | |
The top of the control. | |
At both the top and bottom of the control. |
The value of this property is stored in view state.
.NET Framework
Available since 2.0
Available since 2.0
Show: