SaveViewStateToSession Property
In This Topic
When this property is true, the spread will save its view state to the Session object. And, the SaveOrLoadSheetState event will not be fired. 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.
See Also