Ext.Net.Checkbox.LoadPostData C# (CSharp) Method

LoadPostData() private method

private LoadPostData ( string postDataKey, NameValueCollection postCollection ) : bool
postDataKey string
postCollection NameValueCollection
return bool
        protected override bool LoadPostData(string postDataKey, NameValueCollection postCollection)
        {
            this.HasLoadPostData = true;

            string val = postCollection[this.UniqueName];

            this.SuspendScripting();
            this.RawValue = val;

            try
            {
                bool result = this.Checked != val.IsNotEmpty();
                this.Checked = val.IsNotEmpty();
                return result;
            }
            catch
            {
            }
            finally
            {
                this.ResumeScripting();    
            }

            return true; 
        }