I'm not familiar with FusionCharts
. However, ViewState lives only for the current page's lifecycle.
You might want to try SessionState which persist data between pages.
public int last
{
get
{
if (Session["last"] != null)
return (int)Session["last"];
return 0;
}
set { Session["last"] = value; }
}