diff --git a/NKC_WF/WebUserControls/cmp_scrapList.ascx.cs b/NKC_WF/WebUserControls/cmp_scrapList.ascx.cs
index aa790f8..2066d86 100644
--- a/NKC_WF/WebUserControls/cmp_scrapList.ascx.cs
+++ b/NKC_WF/WebUserControls/cmp_scrapList.ascx.cs
@@ -20,6 +20,10 @@ namespace NKC_WF.WebUserControls
grView.PageSize = mod_righePag.numRowPag;
}
+ public void doUpdate()
+ {
+ grView.DataBind();
+ }
protected void chkToggle_CheckedChanged(object sender, EventArgs e)
{
diff --git a/NKC_WF/site/MachineOffline.aspx b/NKC_WF/site/MachineOffline.aspx
index c113b36..f668bd6 100644
--- a/NKC_WF/site/MachineOffline.aspx
+++ b/NKC_WF/site/MachineOffline.aspx
@@ -4,12 +4,17 @@
<%@ Register Src="~/WebUserControls/cmp_offlineOrders.ascx" TagPrefix="uc1" TagName="cmp_offlineOrders" %>
-
+
+
+
+
+
+
diff --git a/NKC_WF/site/MachineOffline.aspx.cs b/NKC_WF/site/MachineOffline.aspx.cs
index 0955e6c..d59bcca 100644
--- a/NKC_WF/site/MachineOffline.aspx.cs
+++ b/NKC_WF/site/MachineOffline.aspx.cs
@@ -13,5 +13,11 @@ namespace NKC_WF
{
cmp_offlineOrders.doUpdate();
}
+
+ protected void timerScrap_Tick(object sender, EventArgs e)
+ {
+ cmp_scrapList.doUpdate();
+ cmp_offlineOrders.doUpdate();
+ }
}
}
\ No newline at end of file
diff --git a/NKC_WF/site/MachineOffline.aspx.designer.cs b/NKC_WF/site/MachineOffline.aspx.designer.cs
index d0de564..c7eb326 100644
--- a/NKC_WF/site/MachineOffline.aspx.designer.cs
+++ b/NKC_WF/site/MachineOffline.aspx.designer.cs
@@ -7,11 +7,31 @@
//
//------------------------------------------------------------------------------
-namespace NKC_WF {
-
-
- public partial class MachineOffline {
-
+namespace NKC_WF
+{
+
+
+ public partial class MachineOffline
+ {
+
+ ///
+ /// Controllo UpdatePanel2.
+ ///
+ ///
+ /// Campo generato automaticamente.
+ /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
+ ///
+ protected global::System.Web.UI.UpdatePanel UpdatePanel2;
+
+ ///
+ /// Controllo timerScrap.
+ ///
+ ///
+ /// Campo generato automaticamente.
+ /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
+ ///
+ protected global::System.Web.UI.Timer timerScrap;
+
///
/// Controllo cmp_scrapList.
///
@@ -20,7 +40,7 @@ namespace NKC_WF {
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
///
protected global::NKC_WF.WebUserControls.cmp_scrapList cmp_scrapList;
-
+
///
/// Controllo cmp_offlineOrders.
///