protected override void LoadViewState(object savedState) { HeaderColourViewState state = (HeaderColourViewState)savedState; this.CssClass = state.CssClass; base.LoadViewState(state.ControlViewState); }
protected override object SaveViewState() { HeaderColourViewState state = new HeaderColourViewState(); state.CssClass = this.CssClass; state.ControlViewState = base.SaveViewState(); return(state); }
protected override object SaveViewState() { HeaderColourViewState state = new HeaderColourViewState(); state.CssClass = this.CssClass; state.ControlViewState = base.SaveViewState(); return state; }