diff --git a/MP-TAB/WebUserControls/cmp_ST_objView.ascx.cs b/MP-TAB/WebUserControls/cmp_ST_objView.ascx.cs
index e9ccbb70..0708a6d2 100644
--- a/MP-TAB/WebUserControls/cmp_ST_objView.ascx.cs
+++ b/MP-TAB/WebUserControls/cmp_ST_objView.ascx.cs
@@ -125,6 +125,19 @@ namespace MoonProTablet.WebUserControls
}
}
+ public bool showCheckedData
+ {
+ get
+ {
+ bool answ = false;
+ if (required && (dataValue == extCode))
+ {
+ answ = true;
+ }
+ return answ;
+ }
+ }
+
public bool showMissingData
{
get
@@ -158,6 +171,7 @@ namespace MoonProTablet.WebUserControls
break;
}
lblError.Visible = showMissingData;
+ lblChecked.Visible = showCheckedData;
}
#endregion Private Methods
diff --git a/MP-TAB/WebUserControls/cmp_ST_objView.ascx.designer.cs b/MP-TAB/WebUserControls/cmp_ST_objView.ascx.designer.cs
index 15f26e58..069f94bf 100644
--- a/MP-TAB/WebUserControls/cmp_ST_objView.ascx.designer.cs
+++ b/MP-TAB/WebUserControls/cmp_ST_objView.ascx.designer.cs
@@ -77,6 +77,15 @@ namespace MoonProTablet.WebUserControls
///
protected global::System.Web.UI.WebControls.Label lblError;
+ ///
+ /// Controllo lblChecked.
+ ///
+ ///
+ /// 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.Label lblChecked;
+
///
/// Controllo divImg.
///
diff --git a/MP-TAB/WebUserControls/cmp_disabled.ascx b/MP-TAB/WebUserControls/cmp_disabled.ascx
new file mode 100644
index 00000000..b120d0f3
--- /dev/null
+++ b/MP-TAB/WebUserControls/cmp_disabled.ascx
@@ -0,0 +1,20 @@
+<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="cmp_disabled.ascx.cs" Inherits="MoonProTablet.WebUserControls.cmp_disabled" %>
+
+
\ No newline at end of file
diff --git a/MP-TAB/WebUserControls/cmp_disabled.ascx.cs b/MP-TAB/WebUserControls/cmp_disabled.ascx.cs
new file mode 100644
index 00000000..34f1ce33
--- /dev/null
+++ b/MP-TAB/WebUserControls/cmp_disabled.ascx.cs
@@ -0,0 +1,60 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+
+namespace MoonProTablet.WebUserControls
+{
+ public partial class cmp_disabled : System.Web.UI.UserControl
+ {
+ #region Public Properties
+
+ public string message
+ {
+ get
+ {
+ return lblMessage.Text;
+ }
+ set
+ {
+ lblMessage.Text = value.Trim();
+ }
+ }
+
+ public string subtitle
+ {
+ get
+ {
+ return lblSubtitle.Text;
+ }
+ set
+ {
+ lblSubtitle.Text = value.Trim();
+ }
+ }
+
+ public string title
+ {
+ get
+ {
+ return lblTitolo.Text;
+ }
+ set
+ {
+ lblTitolo.Text = value.Trim();
+ }
+ }
+
+ #endregion Public Properties
+
+ #region Protected Methods
+
+ protected void Page_Load(object sender, EventArgs e)
+ {
+ }
+
+ #endregion Protected Methods
+ }
+}
\ No newline at end of file
diff --git a/MP-TAB/WebUserControls/cmp_disabled.ascx.designer.cs b/MP-TAB/WebUserControls/cmp_disabled.ascx.designer.cs
new file mode 100644
index 00000000..b1a0ba25
--- /dev/null
+++ b/MP-TAB/WebUserControls/cmp_disabled.ascx.designer.cs
@@ -0,0 +1,44 @@
+//------------------------------------------------------------------------------
+//
+// Codice generato da uno strumento.
+//
+// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se
+// il codice viene rigenerato.
+//
+//------------------------------------------------------------------------------
+
+namespace MoonProTablet.WebUserControls
+{
+
+
+ public partial class cmp_disabled
+ {
+
+ ///
+ /// Controllo lblTitolo.
+ ///
+ ///
+ /// 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.Label lblTitolo;
+
+ ///
+ /// Controllo lblSubtitle.
+ ///
+ ///
+ /// 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.Label lblSubtitle;
+
+ ///
+ /// Controllo lblMessage.
+ ///
+ ///
+ /// 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.Label lblMessage;
+ }
+}
diff --git a/MP-TAB/WebUserControls/cmp_sheetTech.ascx b/MP-TAB/WebUserControls/cmp_sheetTech.ascx
index 35a2ef4a..465bb9b1 100644
--- a/MP-TAB/WebUserControls/cmp_sheetTech.ascx
+++ b/MP-TAB/WebUserControls/cmp_sheetTech.ascx
@@ -4,7 +4,14 @@
diff --git a/MP-TAB/WebUserControls/cmp_sheetTech.ascx.cs b/MP-TAB/WebUserControls/cmp_sheetTech.ascx.cs
index 81a4345f..6bfd884a 100644
--- a/MP-TAB/WebUserControls/cmp_sheetTech.ascx.cs
+++ b/MP-TAB/WebUserControls/cmp_sheetTech.ascx.cs
@@ -37,8 +37,21 @@ namespace MoonProTablet.WebUserControls
#region Protected Methods
+ protected void lbtClearOdl_Click(object sender, EventArgs e)
+ {
+ // chiamo stored x ripulire dati check già caricati
+ DataLayerObj.taSTChk.cleanByOdl(idxOdl);
+ // sollevo evento
+ repGroup.DataBind();
+ reportUpdate();
+ }
+
protected void Page_Load(object sender, EventArgs e)
{
+ if (!Page.IsPostBack)
+ {
+ lbtClearOdl.DataBind();
+ }
cmp_ST_objCheck.eh_doUpdate += cmp_ST_objCheck_eh_doUpdate;
}
diff --git a/MP-TAB/WebUserControls/cmp_sheetTech.ascx.designer.cs b/MP-TAB/WebUserControls/cmp_sheetTech.ascx.designer.cs
index 5bd6fb11..16564bd2 100644
--- a/MP-TAB/WebUserControls/cmp_sheetTech.ascx.designer.cs
+++ b/MP-TAB/WebUserControls/cmp_sheetTech.ascx.designer.cs
@@ -14,6 +14,15 @@ namespace MoonProTablet.WebUserControls
public partial class cmp_sheetTech
{
+ ///
+ /// Controllo lbtClearOdl.
+ ///
+ ///
+ /// 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.LinkButton lbtClearOdl;
+
///
/// Controllo cmp_ST_objCheck.
///