diff --git a/GMW/GMW/WebUserControls/mod_anagCelle.ascx.cs b/GMW/GMW/WebUserControls/mod_anagCelle.ascx.cs index e65b5042..371f7d6e 100644 --- a/GMW/GMW/WebUserControls/mod_anagCelle.ascx.cs +++ b/GMW/GMW/WebUserControls/mod_anagCelle.ascx.cs @@ -322,7 +322,14 @@ namespace GMW.WebUserControls mod_filtroMag.ods = odsFiltroMag; mod_filtroBlock.ods = odsFiltroBlock; // imposto corretto valore x filtro Mag - mod_filtroMag.valore = memLayer.ML.StringSessionObj("CodMag_sel"); + if (memLayer.ML.isInSessionObject("CodMag_sel")) + { + mod_filtroMag.valore = memLayer.ML.StringSessionObj("CodMag_sel"); + } + else + { + memLayer.ML.setSessionVal("CodMag_sel", mod_filtroMag.valore, false); + } if (memLayer.ML.isInSessionObject("IdxBlocco_sel")) { mod_filtroBlock.valore = memLayer.ML.StringSessionObj("IdxBlocco_sel"); diff --git a/GMW/GMW/bin/GMW.dll b/GMW/GMW/bin/GMW.dll index 06bd3036..1b405811 100644 Binary files a/GMW/GMW/bin/GMW.dll and b/GMW/GMW/bin/GMW.dll differ diff --git a/GMW/GMW/obj/Debug/GMW.dll b/GMW/GMW/obj/Debug/GMW.dll index 06bd3036..1b405811 100644 Binary files a/GMW/GMW/obj/Debug/GMW.dll and b/GMW/GMW/obj/Debug/GMW.dll differ