Exemplo n.º 1
0
        public void SetQueryCondition(IQueryConditionProvider provider)
        {
            //_QueryConditionProvider = provider;

            if (this.WebPartManager.DisplayMode.AllowPageDesign && !String.IsNullOrEmpty(  provider.QueryCondition.Query ) )
            {
                Query = provider.QueryCondition.Query;

                this._EditBox.Text = Query ;

                this.SetPersonalizationDirty();
            }
        }
Exemplo n.º 2
0
        public virtual void ConsumeQueryCondition(IQueryConditionProvider provider)
        {
            _QueryConditionProvider = provider;

            SetQuery();
        }