title: How to load previous ViewState when go back on previous page
body: <p>I want to reload all my user changes when he want to go back on previous page and I tried to use <code>LoadViewState()</code> and <code>SaveViewState()</code> methods like this:</p>
  
  <pre><code>     protected void Page_Load(object sender, EventArgs e)
          {
              if (!IsPostBack)
              {
                 if(Session["savedViewState"] != null)
                    {
                       Object saved = (Object)Session["savedViewState"];
                       LoadViewState(saved);
                    }
              }
              else
              {
                  Session["savedViewState"] = SaveViewState();   
              }
          }
  </code></pre>
  
  <p>but it did't work. The session <code>savedViewState</code> is null. 
  But I still do not know if these methods can solve the problem of reloading my all view state.</p>