Viewstate move session generate an error as 'The state information is invalid for this page and might be corrupted. '
<p>I have created web page with rad grid. within that i provide facility to filtering ,shorting, Grouping and paging . because of performance issue i have tried to move viewsatate into session.
there i have set enable viewsate false in webpage  and added bellow code into page. </p>

<pre><code>    protected override object LoadPageStateFromPersistenceMedium()
    {
        return Session["ViewState-" + Request.Url.AbsolutePath];

    }
    protected override void SavePageStateToPersistenceMedium(object state)
    {
        Session["ViewState-" + Request.Url.AbsolutePath] = state;

        ClientScript.RegisterHiddenField("__VIEWSTATE", "");
    }
</code></pre>

<p>but when i do some thing on rad grid it will generate bellow error</p>

<p>The state information is invalid for this page and might be corrupted. </p>
