protected void btnUpdate_Click(object sender, System.EventArgs e)
        {
            try
            {
                FilteredByNameSet newSet=new FilteredByNameSet(
                    null,
                    _filtByNameSet.Hierarchy,
                    _filtByNameSet.Hierarchy.Levels[this.ddlLevel.SelectedValue],
                    this.txtGrOrEq.Text,
                    this.txtLessOrEq.Text);
                newSet.Prompt=_filtByNameSet.Prompt;

                _filtByNameSet=(FilteredByNameSet)_filtByNameSet.Hierarchy.ReplaceMember(_filtByNameSet, newSet);
            }
            catch(Exception exc)
            {
                if(Common.AppConfig.IsDebugMode)
                    Common.LogWriter.Instance.WriteEventLogEntry(exc);
                cellErr.InnerText=exc.Message;
                return;
            }

            //update name
            this.lblName.Text=_filtByNameSet.Name;

            cellErr.InnerText="";
        }
        public void AddFilteredByNameSet(Level lev , string LessOrEq, string GrOrEq , bool Prompt)
        {
            FilteredByNameSet levSet=new FilteredByNameSet(
                null,
                lev.Hierarchy ,
                lev ,
                LessOrEq ,
                GrOrEq);
            levSet.Prompt=Prompt;

            if(lev.Hierarchy.Axis.Ordinal==2)
            {
                MembersAggregate aggr=lev.Hierarchy.FilterMember as MembersAggregate;
                if(aggr!=null)
                    aggr.AddMember(levSet); //if aggegated
                else
                    lev.Hierarchy.AddMember(levSet, true);
            }
            else
                lev.Hierarchy.AddMember(levSet, true);
        }