Spread for ASP.NET 10 Product Documentation
AllowPage Property
Example 


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
Requirements

Target Platforms: Windows 7, Windows 8, Windows 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional

See Also

Reference

SheetView Class
SheetView Members

User-Task Documentation

Customizing Page Navigation

 

 


Copyright © GrapeCity, inc. All rights reserved.