I am about to gone mad why? why? why?
protected void Page_Load(object sender, EventArgs e) { AttachedPartnersViewState vs = ViewState[SessionVariables.Company_AttachedPartnersViewState] as AttachedPartnersViewState;
protected override void OnUnload(EventArgs e)
{
ViewState[SessionVariables.Company_AttachedPartnersViewState] = _viewState;
whatever I do. however I try to save this Viewstate, it seems to be ok on unload. then, as page is loading, it is NULL again, it DOESN'T retrieves despite page is on postback.
this is elementary action, but why it doesn't work?
BTW, control's EnableViewstate is true
Are there any explanations?