public void SaveGridState() { state.FromJSonString(context.GetSession().Get(gridName)); varsToState(); context.GetSession().Set(gridName, state.ToJSonString()); dirty = true; }
public void LoadGridState() { if (context.GetRequestMethod() == "GET") { state = new SdtGridState(context); state.FromJSonString(context.GetSession().Get(gridName)); varsFromState(); dirty = true; } }