
PagerPosition | 871
WebControls
Namespace
This is the Title of the Book, eMatter Edition
Copyright © 2008 O’Reilly & Associates, Inc. All rights reserved.
Passed To
DataGrid.{CreateColumnSet( ), InitializePager( )}
PagerMode
System.Web.UI.WebControls (system.web.dll)
serializable
enum
This enumeration allows you to configure the type of pager controls used on the Data-
Grid control to browse from page to page. Each “page” shows a table with a subset of
the data. If you use NextPrev, next/previous buttons will be displayed (which are typi-
cally rendered as greater-than and less-than signs). If you use NumericPages, each page
will be given a number and a series of number links (starting at 1) will be displayed
that allow a user to jump to a nonsequential page. Additional pager options, such as
the text for next/previous buttons and the number of numeric pages displayed at a
time, are available through the properties of the DataGridPagerStyle class.
Hierarchy
System.Object ➝ System.ValueType ➝ System.Enum(System.IComparable, System.IFor-
mattable, System.IConvertible)
➝ PagerMode
Returned By
DataGridPagerStyle.Mode
Passed To
DataGridPagerStyle.Mode
PagerPosition
System.Web.UI.WebControls (system.web.dll)
serializable
enum
This enumeration specifies the alignment of the pager controls for a DataGrid within the
appropriate cell. The pager controls are always placed in the last row after the data and
footer.
public ...