diff --git a/GMW.suo b/GMW.suo index 88a53d00..31d1d4fc 100644 Binary files a/GMW.suo and b/GMW.suo differ diff --git a/GMW/WebUserControls/mod_manSAO.ascx.cs b/GMW/WebUserControls/mod_manSAO.ascx.cs index 6c084e5c..1be50415 100644 --- a/GMW/WebUserControls/mod_manSAO.ascx.cs +++ b/GMW/WebUserControls/mod_manSAO.ascx.cs @@ -273,6 +273,7 @@ namespace GMW.WebUserControls filtroAzioni.eh_selValore += new EventHandler(filtroAzioni_eh_selValore); filtroParticolare.eh_selValore += new EventHandler(filtroParticolare_eh_selValore); filtroUDC.eh_selValore += new EventHandler(filtroUDC_eh_selValore); + mod_periodoAnalisi1.eh_doUpdate += new EventHandler(mod_periodoAnalisi1_eh_doUpdate); traduciObj(); } @@ -329,7 +330,7 @@ namespace GMW.WebUserControls { btnElimina.Visible = true; bool abilita = false; - if (idxEvento > 0 && udcSel != "") + if (idxEvento > 0 && udcSel != "" && MagClass.magazzino.checkUDC(udcSel)) { abilita = true; } @@ -394,6 +395,8 @@ namespace GMW.WebUserControls /// protected void btnElimina_Click(object sender, EventArgs e) { + //in primis ricalcolo la postazione... + calcolaPostazione(); /********************************************** * controllo che l'UDC * - esista @@ -438,6 +441,8 @@ namespace GMW.WebUserControls // reset finale resetSelezione(); } + // resetto postazione... + postazione_name = "*"; } /// /// reset della selezione @@ -490,6 +495,7 @@ namespace GMW.WebUserControls /// public void filtroPostazione_eh_selValore(object sender, EventArgs e) { + resetSelezione(); postazione_name = filtroPostazione.valore; checkFixOds(); } @@ -500,6 +506,7 @@ namespace GMW.WebUserControls /// void filtroSoggetto_eh_selValore(object sender, EventArgs e) { + resetSelezione(); CodSoggettoSAO = filtroSoggetto.valore; checkFixOds(); } @@ -510,6 +517,7 @@ namespace GMW.WebUserControls /// void filtroAzioni_eh_selValore(object sender, EventArgs e) { + resetSelezione(); CodAzioneUt = filtroAzioni.valore; checkFixOds(); } @@ -520,6 +528,7 @@ namespace GMW.WebUserControls /// void filtroUDC_eh_selValore(object sender, EventArgs e) { + resetSelezione(); UdcSAO = filtroUDC.valore; checkFixOds(); } @@ -530,6 +539,7 @@ namespace GMW.WebUserControls /// void filtroParticolare_eh_selValore(object sender, EventArgs e) { + resetSelezione(); ParticSAO = filtroParticolare.valore; checkFixOds(); } @@ -540,6 +550,18 @@ namespace GMW.WebUserControls /// protected void txtNumRighe_TextChanged(object sender, EventArgs e) { + resetSelezione(); + aggiornaControlliDataGL(); + checkFixOds(); + } + /// + /// aggiornamento dati + /// + /// + /// + void mod_periodoAnalisi1_eh_doUpdate(object sender, EventArgs e) + { + resetSelezione(); aggiornaControlliDataGL(); checkFixOds(); } diff --git a/GMW/bin/GMW.dll b/GMW/bin/GMW.dll index db0c56ea..f9c5776b 100644 Binary files a/GMW/bin/GMW.dll and b/GMW/bin/GMW.dll differ diff --git a/GMW/bin/GMW_data.dll b/GMW/bin/GMW_data.dll index 22f108a6..bf1927eb 100644 Binary files a/GMW/bin/GMW_data.dll and b/GMW/bin/GMW_data.dll differ diff --git a/GMW/bin/SteamWare.dll b/GMW/bin/SteamWare.dll index 3d5c8c92..ab048a39 100644 Binary files a/GMW/bin/SteamWare.dll and b/GMW/bin/SteamWare.dll differ