Exemplo n.º 1
0
        protected void UpdateFilters()
        {
            cb_filter.Items.Clear();
            cb_filter.Items.Add("Без фильтра");

            filters = currentView.GetAviableFilters();

            foreach (var filter in filters)
            {
                cb_filter.Items.Add(filter.Title);
            }

            tb_filterValue.Text     = "";
            cb_filter.SelectedIndex = 0;
        }