public override void SyncChanges()
        {
            EnsureChildControls();
            ActionFilterQueryString webpart = WebPartToEdit as ActionFilterQueryString;

            if (webpart != null)
            {
                txtQueryParameters.Text   = webpart.QueryParameters;
                txtDefaultParameters.Text = webpart.DefaultParameters;
            }
        }
        public override bool ApplyChanges()
        {
            EnsureChildControls();
            ActionFilterQueryString webpart = WebPartToEdit as ActionFilterQueryString;

            if (webpart != null)
            {
                webpart.ClearControlState();
                webpart.QueryParameters   = txtQueryParameters.Text;
                webpart.DefaultParameters = txtDefaultParameters.Text;
            }

            return(true);
        }