Пример #1
0
        protected void cmdDeleteStaticFilter_Click(object sender, ImageClickEventArgs e)
        {
            int staticFilterId  = Convert.ToInt32(cboStaticFilter.SelectedValue);
            StaticFilterInfo fi = Controller.GetStaticFilterById(staticFilterId);

            Controller.DeleteStaticFilterById(staticFilterId);

            FillStaticFilterCombo();
            cboStaticFilter.SelectedIndex = 0;
            txtStaticFilter.Enabled       = true;
            cmdSaveStaticFilter.Visible   = true;
            cmdDeleteStaticFilter.Visible = false;
            txtStaticFilterToken.Visible  = true;
            lblStaticFilterToken.Visible  = true;
        }