Example #1
0
 public void SetDirty()
 {
     ViewState.SetDirty(true);
     markedBits = setBits;
 }
 protected internal virtual void SetDirty()
 {
     ViewState.SetDirty(true);
 }
 internal void SetDirty()
 {
     ViewState.SetDirty(true);
 }
Example #4
0
        //#region IStateManager Members

        //bool IStateManager.IsTrackingViewState
        //{
        //    get
        //    {
        //        return IsTrackingViewState;
        //    }
        //}

        //void IStateManager.LoadViewState(object state)
        //{
        //    LoadViewState(state);
        //}

        //object IStateManager.SaveViewState()
        //{
        //    return SaveViewState();
        //}

        //void IStateManager.TrackViewState()
        //{
        //    TrackViewState();
        //}

        //#endregion

        #endregion

        #region ISetDirty Members

        public void SetDirty()
        {
            // 保存直接必须先设置为脏数据,否则SaveViewState返回空
            ViewState.SetDirty(true);
        }