System.Web.UI.WebControls (system.web.dll) | enum |
This enumeration allows you to configure the type of pager controls
used on the DataGrid 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 typically 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.
public enum PagerMode {
NextPrev = 0,
NumericPages = 1
}
Hierarchy
System.Object
System.ValueType
System.Enum(System.IComparable,
System.IFormattable,
System.IConvertible)
PagerMode
Returned By
DataGridPagerStyle.Mode
Passed To
DataGridPagerStyle.Mode