diff --git a/GMW-RT/bin/GMW-RT.dll b/GMW-RT/bin/GMW-RT.dll index 357d3f23..c317dadd 100644 Binary files a/GMW-RT/bin/GMW-RT.dll and b/GMW-RT/bin/GMW-RT.dll differ diff --git a/GMW-RT/bin/GMW_data.dll b/GMW-RT/bin/GMW_data.dll index 381bec96..1475ce52 100644 Binary files a/GMW-RT/bin/GMW_data.dll and b/GMW-RT/bin/GMW_data.dll differ diff --git a/GMW-UT/bin/GMW-UT.dll b/GMW-UT/bin/GMW-UT.dll index 577d69a2..8f45906f 100644 Binary files a/GMW-UT/bin/GMW-UT.dll and b/GMW-UT/bin/GMW-UT.dll differ diff --git a/GMW/WebUserControls/mod_assegnaNC.ascx b/GMW/WebUserControls/mod_assegnaNC.ascx index cdf8a121..14df45b1 100644 --- a/GMW/WebUserControls/mod_assegnaNC.ascx +++ b/GMW/WebUserControls/mod_assegnaNC.ascx @@ -81,7 +81,8 @@ - + <%----%> + diff --git a/GMW/WebUserControls/mod_assegnaNC.ascx.cs b/GMW/WebUserControls/mod_assegnaNC.ascx.cs index 5cd9408d..ecb17722 100644 --- a/GMW/WebUserControls/mod_assegnaNC.ascx.cs +++ b/GMW/WebUserControls/mod_assegnaNC.ascx.cs @@ -120,12 +120,13 @@ namespace GMW.WebUserControls { get { - return memLayer.ML.IntSessionObj("idxNcSel"); - } - set - { - memLayer.ML.setSessionVal("idxNcSel", value); + //return memLayer.ML.IntSessionObj("idxNcSel"); + return memLayer.ML.QSI("idxNC"); } + //set + //{ + // memLayer.ML.setSessionVal("idxNcSel", value); + //} } void mod_selPeriodo_eh_doUpdate(object sender, EventArgs e) { diff --git a/GMW/WebUserControls/mod_elencoNC.ascx.cs b/GMW/WebUserControls/mod_elencoNC.ascx.cs index 635e3082..5c5ac80d 100644 --- a/GMW/WebUserControls/mod_elencoNC.ascx.cs +++ b/GMW/WebUserControls/mod_elencoNC.ascx.cs @@ -66,11 +66,13 @@ namespace GMW.WebUserControls { get { - return memLayer.ML.IntSessionObj("idxNcSel"); + return memLayer.ML.QSI("idxNC"); + //return memLayer.ML.IntSessionObj("idxNcSel"); } set { - memLayer.ML.setSessionVal("idxNcSel", value); + Response.Redirect(string.Format("{0}?idxNC={1}", user_std.pagCorrente, value)); + //memLayer.ML.setSessionVal("idxNcSel", value); } } /// @@ -122,9 +124,10 @@ namespace GMW.WebUserControls { DateTime adesso = DateTime.Now; DataProxy.obj.taENC.insertQuery(txtSearch.Text.Trim(), txtSearch.Text.Trim(), "", adesso.AddMonths(-1), adesso, "", adesso); - idxNcSel = 0; - grView.SelectedIndex = 0; - grView.DataBind(); + Response.Redirect(user_std.pagCorrente); + //idxNcSel = 0; + //grView.SelectedIndex = 0; + //grView.DataBind(); } protected void lbReset_Click(object sender, EventArgs e) @@ -150,11 +153,12 @@ namespace GMW.WebUserControls /// private void resetSelezione() { - idxNcSel = 0; - grView.SelectedIndex = -1; - grView.DataBind(); - fixVisibility(); - raiseEvent(); + Response.Redirect(user_std.pagCorrente); + //idxNcSel = 0; + //grView.SelectedIndex = -1; + //grView.DataBind(); + //fixVisibility(); + //raiseEvent(); } /// /// selezionato valore IdxNC @@ -165,8 +169,8 @@ namespace GMW.WebUserControls { // salvo chiave IdxNC idxNcSel = Convert.ToInt32(grView.SelectedDataKey["IdxNC"]); - fixVisibility(); - raiseEvent(); + //fixVisibility(); + //raiseEvent(); } } diff --git a/GMW/bin/GMW.dll b/GMW/bin/GMW.dll index b19925ee..097e9eca 100644 Binary files a/GMW/bin/GMW.dll and b/GMW/bin/GMW.dll differ