Spread for ASP.NET 8.0 Product Documentation
SaveViewStateToSession Property
Example 


When this property is true, the spread will save its view state to the Session object. If you do not want to save the spread view state to the Session object, you should set this property to false. The default value is true.
Syntax
'Declaration
 
Public Property SaveViewStateToSession As Boolean
'Usage
 
Dim instance As FpSpread
Dim value As Boolean
 
instance.SaveViewStateToSession = value
 
value = instance.SaveViewStateToSession
public bool SaveViewStateToSession {get; set;}
Example
This example sets the SaveViewStateToSession property.
FpSpread1.SaveViewStateToSession = false;
FpSpread1.SaveViewStateToSession = False
Requirements

Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

Reference

FpSpread Class
FpSpread Members
SaveOrLoadSheetState Event

 

 


Copyright © GrapeCity, inc. All rights reserved.