asp.net.ph

PagedDataSource Class

System.Web.UI.WebControls Namespace


Encapsulates the properties of the DataGrid control that allow it to perform paging.

PagedDataSource Class Members

Collapse   Constructors

Visibility Constructor Parameters
public PagedDataSource ( )

Collapse   Properties

Visibility Name Value Type Accessibility
public AllowCustomPaging Boolean [ Get , Set ]
public AllowPaging Boolean [ Get , Set ]
public AllowServerPaging Boolean [ Get , Set ]
public Count Int32 [ Get ]
public CurrentPageIndex Int32 [ Get , Set ]
public DataSource IEnumerable [ Get , Set ]
public DataSourceCount Int32 [ Get ]
public FirstIndexInPage Int32 [ Get ]
public IsCustomPagingEnabled Boolean [ Get ]
public IsFirstPage Boolean [ Get ]
public IsLastPage Boolean [ Get ]
public IsPagingEnabled Boolean [ Get ]
public IsReadOnly Boolean [ Get ]
public IsServerPagingEnabled Boolean [ Get ]
public IsSynchronized Boolean [ Get ]
public PageCount Int32 [ Get ]
public PageSize Int32 [ Get , Set ]
public SyncRoot Object [ Get ]
public VirtualCount Int32 [ Get , Set ]

Collapse   Methods

Visibility Name Parameters Return Type
public CopyTo ( Array array , Int32 index ) Void
public GetEnumerator ( ) IEnumerator
public GetItemProperties ( PropertyDescriptor listAccessors ) PropertyDescriptorCollection
public GetListName ( PropertyDescriptor listAccessors ) String

Remarks

The PagedDataSource class encapsulates the properties of the DataGrid control that allow the DataGrid to perform paging. This class is primarily used by control developers.

This class uses the best available interface to enumerate over the data belonging to the current page. If the underlying data source supports indexed access ( like System.Array and System.Collections.IList ), this class uses it. Otherwise, it uses System.Collections.IEnumerable.

For a list of initial property values for an instance of PagedDataSource, see the PagedDataSource constructor.

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