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

LoadPostData() private method

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

            string val = postCollection[this.UniqueName];
            val = val != null && val.Equals(this.EmptyText) ? "" : val;

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

            if (val != null && this.Text != val)
            {
                bool raise = val != (this.Text ?? "");

                try
                {
                    this.SuspendScripting();
                    this.Text = val.Equals(this.EmptyText) ? "" : val;
                }
                finally
                {
                    this.ResumeScripting();
                }

                return raise;
            }

            return false;
        }