Пример #1
0
 public void SaveGridState()
 {
     state.FromJSonString(context.GetSession().Get(gridName));
     varsToState();
     context.GetSession().Set(gridName, state.ToJSonString());
     dirty = true;
 }
Пример #2
0
 public void LoadGridState()
 {
     if (context.GetRequestMethod() == "GET")
     {
         state = new SdtGridState(context);
         state.FromJSonString(context.GetSession().Get(gridName));
         varsFromState();
         dirty = true;
     }
 }