Spread for ASP.NET 11 Product Documentation
AllowPage Property
Example 


FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > SheetView Class : AllowPage Property
Gets or sets whether the sheet displays the number of pages and the arrows for navigating to other pages in the sheet.
Syntax
'Declaration
 
Public Property AllowPage As Boolean
'Usage
 
Dim instance As SheetView
Dim value As Boolean
 
instance.AllowPage = value
 
value = instance.AllowPage
public bool AllowPage {get; set;}

Property Value

Boolean: true to display the page numbers and navigation aids; false otherwise
Remarks

For more information on page navigation, refer to Customizing Page Navigation.

Example
This example assigns a SheetView object to the active sheet and defines the number of columns and rows in the sheet, then sets AllowPage to true, which allows the user to click the page arrows on the Command Bar to scroll between pages of rows.
FarPoint.Web.Spread.SheetView sv = FpSpread1.ActiveSheetView;
sv.ColumnCount = 5;
sv.PageSize = 10;
sv.RowCount = 40;
sv.AllowPage = true;
Dim sv As FarPoint.Web.Spread.SheetView
sv = FpSpread1.ActiveSheetView
sv.ColumnCount = 5
sv.PageSize = 10
sv.RowCount = 40
sv.AllowPage = True
See Also

Reference

SheetView Class
SheetView Members

User-Task Documentation

Customizing Page Navigation