Ext.Net.HtmlEditor.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;
            this.ResumeScripting();

            if (val != null && !this.ReadOnly )
            {
                if (this.EscapeValue)
                {
                    //val = this.Page.Server.UrlDecode(val);    
                    val = Utilities.EscapeUtils.Unescape(val);
                }

                if (this.Text.Equals(val))
                {
                    return false; 
                }
                
                try
                {
                    this.SuspendScripting();
                    this.Text = val;
                }
                finally
                {
                    this.ResumeScripting();
                }

                return true;
            }

            return false;
        }