IStateSerializer
StateSerializer interface that should be implemented by different serializers used by the StatePersisters
Definition
Namespace:Telerik.Web.UI.PersistenceFramework
Assembly:Telerik.Web.UI.dll
Syntax:
public interface IStateSerializer
Derived Classes:
Methods
Deserialize formated string back to RadControlState object
RadControlState Deserialize(string stateData)
Serialized state string
Returns:RadControlState object ready to be applied to the control by the StatePersister
Deserialize formated string back to RadControlState collection of objects
List<RadControlState> DeserializeCollection(string stateData)
Serialized state string
Returns:RadControlState objects ready to be applied to the control by the StatePersister
Serialize the provided control's state to require format.
string Serialize(List<RadControlState> state)
Collection of controls' state object.
Returns:Serialized state as a string
Serialize the provided control's state to require format.
string Serialize(RadControlState state)
Control's state object.
Returns:Serialized state as a string