Ext.Net.PagingToolbar.IPostBackDataHandler C# (CSharp) Method

IPostBackDataHandler() private method

private IPostBackDataHandler ( string postDataKey, NameValueCollection postCollection ) : bool
postDataKey string
postCollection NameValueCollection
return bool
        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;
        }

Same methods

PagingToolbar::IPostBackDataHandler ( ) : void