In this example you can see how to preserve the state of RadPivotGrid using
a custom serializer provider. The custom serializer provider implements IStateSerializer interface containing
Serialize, Deserialize and DeserializeCollection
methods which are used by the PersistenceManager to load/save the state. To demonstrates this functionality we construct a
BinaryFormatter and use it to serialize/deserialize the RadControlState to the MemoryStream.