bool IPostBackDataHandler.LoadPostData(string postDataKey, NameValueCollection postCollection)
{
this.HasLoadPostData = true;
string val = postCollection[this.ConfigID.ConcatWith("_ActivePage")];
if (val.IsNotEmpty())
{
int activePageNum;
if (int.TryParse(val, out activePageNum))
{
if (activePageNum > -1 && this.PageIndex != activePageNum)
{
try
{
this.SuspendScripting();
this.PageIndex = activePageNum;
}
finally
{
this.ResumeScripting();
}
return true;
}
}
}
return false;
}