IStatePersister
State Persister Interface that should be implemented by each control's StatePerister class. ReadSettings / ApplySettings methods can be generated using T4 Template.
Definition
Namespace:Telerik.Web.UI.PersistenceFramework
Assembly:Telerik.Web.UI.dll
Syntax:
public interface IStatePersister
Derived Classes:
Methods
Applies the control's settings. This method will be generated using T4 Template.
Loads the state to the provided control
void LoadState(Control c, RadControlState state)
Control that should receive the provided state
stateRadControlStateRadControlState instance that will be applied to the provided control
This method should raise StateLoading event
Loads the state to the corresponding control using the assigned StateSerializer and StateStorageProvider
void LoadState(Control c, string key)
Control that should receive the provided state
keystringThe identifier under which the state is saved.
This method should be usable only when StateSerializer and StateStorageProvider are assigned to the StatePersister.
This method should raise StateLoading event
Reads the control's settings. This method will be generated using T4 Template.
Saves the state of the corresponding control using the assigned StateSerializer and StateStorageProvider