예제 #1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
         dataTableSelectedItems = new SelectedFilterDataTable();
         dictionarySelectedRows = new Dictionary <string, Dictionary <string, string> >();
         foreach (var collezione in Global.serviceManager.CollectionManager.GetCollection().collection.ToList())
         {
             selectColl.Items.Add(collezione["name"].ToString());
         }
     }
     LViewFilter.DataSource = Global.dataTableFilterElements;
     LViewFilter.DataBind();
 }
예제 #2
0
 protected void ButtonAnnulla_Click(object sender, EventArgs e)
 {
     if (((Button)sender).CommandArgument.Contains("Filtri"))
     {
         GridViewFilterScelti.DataBind();
         dataTableSelectedItems = new SelectedFilterDataTable();
         ListaCausaliScelti.Clear();
         dictionarySelectedRows.Clear();
     }
     else
     {
         GridViewDocumenti.DataBind();
         LabelImportati.Visible = false;
     }
 }