diff --git a/MP-MAG/SMART/prtFiniti.aspx b/MP-MAG/SMART/prtFiniti.aspx
index a12f72c..e5f3eef 100644
--- a/MP-MAG/SMART/prtFiniti.aspx
+++ b/MP-MAG/SMART/prtFiniti.aspx
@@ -3,5 +3,5 @@
<%@ Register Src="~/WebUserControls/cmp_prtFiniti.ascx" TagPrefix="uc1" TagName="cmp_prtFiniti" %>
-
+
diff --git a/MP-MAG/SMART/prtSemilav.aspx b/MP-MAG/SMART/prtSemilav.aspx
index 749efd4..59dae97 100644
--- a/MP-MAG/SMART/prtSemilav.aspx
+++ b/MP-MAG/SMART/prtSemilav.aspx
@@ -3,5 +3,5 @@
<%@ Register Src="~/WebUserControls/cmp_prtSemilav.ascx" TagPrefix="uc1" TagName="cmp_prtSemilav" %>
-
+
diff --git a/MP-MAG/WebUserControls/cmp_LottiIn.ascx b/MP-MAG/WebUserControls/cmp_LottiIn.ascx
index b483b44..bf6644f 100644
--- a/MP-MAG/WebUserControls/cmp_LottiIn.ascx
+++ b/MP-MAG/WebUserControls/cmp_LottiIn.ascx
@@ -12,7 +12,7 @@
-
+
@@ -85,7 +85,7 @@
-
+
diff --git a/MP-MAG/WebUserControls/cmp_LottiIn.ascx.cs b/MP-MAG/WebUserControls/cmp_LottiIn.ascx.cs
index da735f8..7e80aec 100644
--- a/MP-MAG/WebUserControls/cmp_LottiIn.ascx.cs
+++ b/MP-MAG/WebUserControls/cmp_LottiIn.ascx.cs
@@ -40,7 +40,7 @@ namespace MP_MAG.WebUserControls
string eliString = $"#{string.Join("#", value)}#";
hfHashList.Value = eliString;
// update grView...
- grViewLottoIn.DataBind();
+ grView.DataBind();
}
}
///
@@ -70,6 +70,13 @@ namespace MP_MAG.WebUserControls
protected void Page_Load(object sender, EventArgs e)
{
+ }
+ ///
+ /// Update grid view
+ ///
+ public void doUpdate()
+ {
+ grView.DataBind();
}
///
/// reset sel lottoIn
diff --git a/MP-MAG/WebUserControls/cmp_LottiIn.ascx.designer.cs b/MP-MAG/WebUserControls/cmp_LottiIn.ascx.designer.cs
index 29154e2..cd35c92 100644
--- a/MP-MAG/WebUserControls/cmp_LottiIn.ascx.designer.cs
+++ b/MP-MAG/WebUserControls/cmp_LottiIn.ascx.designer.cs
@@ -24,22 +24,22 @@ namespace MP_MAG.WebUserControls
protected global::System.Web.UI.WebControls.LinkButton lbtResetLottoIn;
///
- /// Controllo grViewLottoIn.
+ /// Controllo grView.
///
///
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
///
- protected global::System.Web.UI.WebControls.GridView grViewLottoIn;
+ protected global::System.Web.UI.WebControls.GridView grView;
///
- /// Controllo odsLottiIn.
+ /// Controllo ods.
///
///
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
///
- protected global::System.Web.UI.WebControls.ObjectDataSource odsLottiIn;
+ protected global::System.Web.UI.WebControls.ObjectDataSource ods;
///
/// Controllo hfHashList.
diff --git a/MP-MAG/WebUserControls/cmp_prtFiniti.ascx.cs b/MP-MAG/WebUserControls/cmp_prtFiniti.ascx.cs
index eaf5299..6225e75 100644
--- a/MP-MAG/WebUserControls/cmp_prtFiniti.ascx.cs
+++ b/MP-MAG/WebUserControls/cmp_prtFiniti.ascx.cs
@@ -216,6 +216,8 @@ namespace MP_MAG.WebUserControls
}
// nascondo creazione...
showCreaStampa(false, false);
+ cmp_LottiIn.doUpdate();
+ cmp_LottiOut.doUpdate();
}
private void Cmp_creaLottoOUT_eh_doRefresh(object sender, EventArgs e)
diff --git a/MP-MAG/WebUserControls/cmp_prtSemilav.ascx.cs b/MP-MAG/WebUserControls/cmp_prtSemilav.ascx.cs
index 0ca7e4b..fa4d5f5 100644
--- a/MP-MAG/WebUserControls/cmp_prtSemilav.ascx.cs
+++ b/MP-MAG/WebUserControls/cmp_prtSemilav.ascx.cs
@@ -214,6 +214,8 @@ namespace MP_MAG.WebUserControls
}
// nascondo creazione...
showCreaStampa(false, false);
+ cmp_LottiIn.doUpdate();
+ cmp_LottiOut.doUpdate();
}
private void Cmp_creaLottoOUT_eh_doRefresh(object sender, EventArgs e)