Ext.Net.CheckMenuItem.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("_Checked")];
            
            if (val.IsNotEmpty())
            {
                bool checkedState;
            
                if (bool.TryParse(val.ToLowerInvariant(), out checkedState))
                {
                    if (this.Checked != checkedState)
                    {
                        try
                        {
                            this.SuspendScripting();
                            this.Checked = checkedState;
                        }
                        finally
                        {
                            this.ResumeScripting();
                        }

                        return true;
                    }
                }
            }

            return false;
        }

Same methods

CheckMenuItem::IPostBackDataHandler ( ) : void