diff --git a/XPS/AnagraficaEventi.aspx.cs b/XPS/AnagraficaEventi.aspx.cs index cf88110..4790d50 100644 --- a/XPS/AnagraficaEventi.aspx.cs +++ b/XPS/AnagraficaEventi.aspx.cs @@ -27,23 +27,17 @@ public partial class AnagraficaEventi : System.Web.UI.Page void Mod_filtroTipoObj_eh_selValore(object sender, EventArgs e) { // salvo in session - SteamWare.memLayer.ML.setSessionVal("CodMappa_sel", Mod_filtroMappa.valore, false); -#if false + SteamWare.memLayer.ML.setSessionVal("IdxTipoObj_sel", Mod_filtroTipoObj.valoreInt, false); // update! - //Mod_ev2stati1.doUpdate(); - //Mod_ev2step1.doUpdate(); -#endif + Mod_ev2stati1.doUpdate(); } void Mod_filtroMappa_eh_selValore(object sender, EventArgs e) { // salvo in session - SteamWare.memLayer.ML.setSessionVal("IdxTipoObj_sel", Mod_filtroTipoObj.valoreInt, false); -#if false + SteamWare.memLayer.ML.setSessionVal("CodMappa_sel", Mod_filtroMappa.valore, false); // update! - //Mod_ev2stati1.doUpdate(); - //Mod_ev2step1.doUpdate(); -#endif + Mod_ev2stati1.doUpdate(); } void Mod_anagraficaEventi1_eh_resetSelezione(object sender, EventArgs e) @@ -53,10 +47,11 @@ public partial class AnagraficaEventi : System.Web.UI.Page void Mod_anagraficaEventi1_eh_selValore(object sender, EventArgs e) { - pnlDet.Visible = true; // salvo valore iniziale filtro... SteamWare.memLayer.ML.setSessionVal("CodMappa_sel", Mod_filtroMappa.valore, false); SteamWare.memLayer.ML.setSessionVal("IdxTipoObj_sel", Mod_filtroTipoObj.valoreInt, false); + // mostro panel... + pnlDet.Visible = true; } protected override void OnUnload(EventArgs e) diff --git a/XPS/mod_anagTipoObj.ascx b/XPS/mod_anagTipoObj.ascx index 354b7be..bb435c0 100644 --- a/XPS/mod_anagTipoObj.ascx +++ b/XPS/mod_anagTipoObj.ascx @@ -114,7 +114,7 @@ - diff --git a/XPS/mod_anagraficaEventi.ascx b/XPS/mod_anagraficaEventi.ascx index f34a0cf..6964da4 100644 --- a/XPS/mod_anagraficaEventi.ascx +++ b/XPS/mod_anagraficaEventi.ascx @@ -103,7 +103,7 @@ - @@ -128,4 +128,4 @@
\ No newline at end of file + OldValuesParameterFormatString="Original_{0}">
\ No newline at end of file diff --git a/XPS/mod_anagraficaMappe.ascx b/XPS/mod_anagraficaMappe.ascx index 5c8f407..c59bfcf 100644 --- a/XPS/mod_anagraficaMappe.ascx +++ b/XPS/mod_anagraficaMappe.ascx @@ -92,7 +92,7 @@ - diff --git a/XPS/mod_anagraficaObjSet.ascx b/XPS/mod_anagraficaObjSet.ascx index 2ae495b..0007e4a 100644 --- a/XPS/mod_anagraficaObjSet.ascx +++ b/XPS/mod_anagraficaObjSet.ascx @@ -142,4 +142,4 @@
+ OldValuesParameterFormatString="Original_{0}">
diff --git a/XPS/mod_anagraficaStati.ascx b/XPS/mod_anagraficaStati.ascx index 161ded2..9bfa0f6 100644 --- a/XPS/mod_anagraficaStati.ascx +++ b/XPS/mod_anagraficaStati.ascx @@ -106,7 +106,7 @@ - diff --git a/XPS/mod_ev2stati.ascx b/XPS/mod_ev2stati.ascx index b766875..7bacc85 100644 --- a/XPS/mod_ev2stati.ascx +++ b/XPS/mod_ev2stati.ascx @@ -1,10 +1,11 @@ <%@ Control Language="C#" AutoEventWireup="true" CodeFile="mod_ev2stati.ascx.cs" Inherits="mod_ev2stati" %> <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %> -<%@ Register Src="mod_selettore_ajax.ascx" TagName="mod_selettore_ajax" TagPrefix="uc1" %> +<%@ Register Src="mod_selettore_ajax.ascx" TagName="mod_selettore_ajax" TagPrefix="uc2" %> +<%@ Register Src="mod_filtro.ascx" TagName="mod_filtro" TagPrefix="uc1" %> + DataKeyNames="CodMappa,IdxTipoObj,CodStato,IdxEvento" DataSourceID="ods"> @@ -21,7 +22,7 @@ + Visible="true" /> - + - + - + - + @@ -124,37 +125,46 @@ + OnInserting="recuperaFooter" DeleteMethod="DeleteQuery" InsertMethod="InsertQuery" + UpdateMethod="UpdateQuery"> + - + + - - + + - + + + + - - +
- + + diff --git a/XPS/mod_ev2stati.ascx.cs b/XPS/mod_ev2stati.ascx.cs index 2e5cc59..e384868 100644 --- a/XPS/mod_ev2stati.ascx.cs +++ b/XPS/mod_ev2stati.ascx.cs @@ -202,7 +202,7 @@ public partial class mod_ev2stati : ApplicationUserControl protected override void OnInit(EventArgs e) { base.OnInit(e); - _idxGridView = "IdxStato"; + _idxGridView = "CodStato"; } void Mod_filtro1_eh_selValore(object sender, EventArgs e) { @@ -288,6 +288,7 @@ public partial class mod_ev2stati : ApplicationUserControl } tipoColonna = ""; } + e.InputParameters["CodMappa"] = memLayer.ML.StringSessionObj("CodMappa_sel"); e.InputParameters["IdxTipoObj"] = memLayer.ML.IntSessionObj("IdxTipoObj_sel"); e.InputParameters["IdxEvento"] = memLayer.ML.IntSessionObj("IdxEvento_sel"); } diff --git a/db/SteamWare_XPS.zip b/db/SteamWare_XPS.zip index 866bb3a..1460a2d 100644 Binary files a/db/SteamWare_XPS.zip and b/db/SteamWare_XPS.zip differ