asp.net.ph

DataGridPagerStyle Class

System.Web.UI.WebControls Namespace


Sets the style properties for the pager element in a DataGrid control.

DataGridPagerStyle Class Members

Collapse   Properties

Visibility Name Value Type Accessibility
public Mode PagerMode [ Get , Set ]
public NextPageText String [ Get , Set ]
public PageButtonCount Int32 [ Get , Set ]
public Position PagerPosition [ Get , Set ]
public PrevPageText String [ Get , Set ]
public Visible Boolean [ Get , Set ]

Collapse   Methods

Visibility Name Parameters Return Type
public CopyFrom ( Style s ) Void
public MergeWith ( Style s ) Void
public Reset ( ) Void

Remarks

The pager is an element on the DataGrid control that allows users to link to other pages when paging is enabled. The PagerStyle property of the DataGrid uses an instance of this class to represent the style properties for the pager.

For additional information, see AllowPaging and AllowCustomPaging.

Example

The following example demonstrates using the DataGridPagerStyle object to dynamically set the style properties of a DataGrid pager element at run time, depending on user input.

 Show me 

See Also

DataGrid Class Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph