title: adding datalist into viewstate
body: <p>I have added one <code>datalist</code> into view state as:</p>
  
  <pre><code>ViewState["datalist"] = dtlstForm;
  </code></pre>
  
  <p>and retrieved it as:</p>
  
  <pre><code>DataList lis = (DataList)ViewState["datalist"];
  </code></pre>
  
  <p>then folowing error comes:</p>
  
  <blockquote>
    <p>Type 'System.Web.UI.WebControls.DataList' in Assembly 'System.Web,
    Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' is
    not marked as serializable.</p>
  </blockquote>