cmp_selPODL.ascx
ASPXCodeBehind
diff --git a/MP-TAB/WebUserControls/BaseUserControl.cs b/MP-TAB/WebUserControls/BaseUserControl.cs
index da5d8efa..fedaa762 100644
--- a/MP-TAB/WebUserControls/BaseUserControl.cs
+++ b/MP-TAB/WebUserControls/BaseUserControl.cs
@@ -86,6 +86,9 @@ namespace MoonProTablet.WebUserControls
///
public bool enableTabSetPzPallet = memLayer.ML.cdvb("enableTabSetPzPallet");
+ public string kSearchKeyExt = "keySearchOdl";
+ public string kSearchOdl = "keySearchOdl";
+
#endregion Public Fields
#region Public Events
@@ -228,7 +231,7 @@ namespace MoonProTablet.WebUserControls
{
memLayer.ML.setSessionVal("idxODL", value);
// resetto cache redis
- if(value==0)
+ if (value == 0)
{
DataLayerObj.emptyCurrODL(idxMacchina);
}
diff --git a/MP-TAB/WebUserControls/cmp_selOdlOrd.ascx b/MP-TAB/WebUserControls/cmp_selOdlOrd.ascx
new file mode 100644
index 00000000..8ba3c937
--- /dev/null
+++ b/MP-TAB/WebUserControls/cmp_selOdlOrd.ascx
@@ -0,0 +1,38 @@
+<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="cmp_selOdlOrd.ascx.cs" Inherits="MoonProTablet.WebUserControls.cmp_selOdlOrd" %>
+
\ No newline at end of file
diff --git a/MP-TAB/WebUserControls/cmp_selOdlOrd.ascx.cs b/MP-TAB/WebUserControls/cmp_selOdlOrd.ascx.cs
new file mode 100644
index 00000000..f0beab88
--- /dev/null
+++ b/MP-TAB/WebUserControls/cmp_selOdlOrd.ascx.cs
@@ -0,0 +1,117 @@
+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_selOdlOrd : BaseUserControl
+ {
+ #region Protected Properties
+
+ protected int numRec
+ {
+ get
+ {
+ int answ = 10;
+ int.TryParse(txtNumLast.Text.Trim(), out answ);
+ return answ;
+ }
+ set
+ {
+ txtNumLast.Text = $"{value}";
+ }
+ }
+
+ protected string reqKeyKext
+ {
+ get
+ {
+ return txtKeyExt.Text.Trim();
+ }
+ set
+ {
+ txtKeyExt.Text = value;
+ }
+ }
+
+ protected string reqOdl
+ {
+ get
+ {
+ return txtOdl.Text.Trim();
+ }
+ set
+ {
+ txtOdl.Text = value;
+ }
+ }
+
+ protected string searchKeyKext
+ {
+ get
+ {
+ return SteamWare.memLayer.ML.StringSessionObj(kSearchKeyExt);
+ }
+ set
+ {
+ SteamWare.memLayer.ML.setSessionVal(kSearchKeyExt, value);
+ }
+ }
+
+ protected string searchOdl
+ {
+ get
+ {
+ return SteamWare.memLayer.ML.StringSessionObj(kSearchOdl);
+ }
+ set
+ {
+ SteamWare.memLayer.ML.setSessionVal(kSearchOdl, value);
+ }
+ }
+
+ #endregion Protected Properties
+
+ #region Protected Methods
+
+ protected void lbtResetKeyExt_Click(object sender, EventArgs e)
+ {
+ searchKeyKext = "";
+ reqKeyKext = "";
+ }
+
+ protected void lbtResetOdl_Click(object sender, EventArgs e)
+ {
+ searchOdl = "";
+ reqOdl = "";
+ }
+
+ protected void Page_Load(object sender, EventArgs e)
+ {
+ if (!Page.IsPostBack)
+ {
+ numRec = 10;
+ }
+ }
+
+ protected void txtKeyExt_TextChanged(object sender, EventArgs e)
+ {
+ searchKeyKext = reqKeyKext;
+ }
+
+ protected void txtNumLast_TextChanged(object sender, EventArgs e)
+ {
+ // aggiorna DDL
+ }
+
+ protected void txtOdl_TextChanged(object sender, EventArgs e)
+ {
+ searchOdl = reqOdl;
+ }
+
+ #endregion Protected Methods
+ }
+}
\ No newline at end of file
diff --git a/MP-TAB/WebUserControls/cmp_selOdlOrd.ascx.designer.cs b/MP-TAB/WebUserControls/cmp_selOdlOrd.ascx.designer.cs
new file mode 100644
index 00000000..e8231654
--- /dev/null
+++ b/MP-TAB/WebUserControls/cmp_selOdlOrd.ascx.designer.cs
@@ -0,0 +1,80 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace MoonProTablet.WebUserControls
+{
+
+
+ public partial class cmp_selOdlOrd
+ {
+
+ ///
+ /// txtNumLast control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.TextBox txtNumLast;
+
+ ///
+ /// ddlOdl control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.DropDownList ddlOdl;
+
+ ///
+ /// odl control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.ObjectDataSource odl;
+
+ ///
+ /// txtKeyExt control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.TextBox txtKeyExt;
+
+ ///
+ /// lbtResetKeyExt control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.LinkButton lbtResetKeyExt;
+
+ ///
+ /// txtOdl control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.TextBox txtOdl;
+
+ ///
+ /// lbtResetOdl control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.LinkButton lbtResetOdl;
+ }
+}
diff --git a/MP-TAB/WebUserControls/mod_elencoScarti.ascx b/MP-TAB/WebUserControls/mod_elencoScarti.ascx
index 58be22c8..c62600f4 100644
--- a/MP-TAB/WebUserControls/mod_elencoScarti.ascx
+++ b/MP-TAB/WebUserControls/mod_elencoScarti.ascx
@@ -1,62 +1,61 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_elencoScarti.ascx.cs" Inherits="MoonProTablet.WebUserControls.mod_elencoScarti" %>
<%@ Register Src="~/WebUserControls/mod_selPeriodo.ascx" TagPrefix="uc1" TagName="mod_selPeriodo" %>
+<%@ Register Src="~/WebUserControls/cmp_selOdlOrd.ascx" TagPrefix="uc1" TagName="cmp_selOdlOrd" %>
-
-
-
-
- Nessun record trovato
-
-
-
-
-
-
-
-
-
<%# Eval("Descrizione") %>'
-
-
-
-
- <%# Eval("Qta") %>
- pz
-
-
-
-
+
+
+
+
+
+ Nessun record trovato
+
+
+
+
+
+
+
+
+
<%# Eval("Descrizione") %>'
+
+
+
+
+ <%# Eval("Qta") %>
+ pz
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/MP-TAB/WebUserControls/mod_elencoScarti.ascx.designer.cs b/MP-TAB/WebUserControls/mod_elencoScarti.ascx.designer.cs
index 3ced51f7..80819fe3 100644
--- a/MP-TAB/WebUserControls/mod_elencoScarti.ascx.designer.cs
+++ b/MP-TAB/WebUserControls/mod_elencoScarti.ascx.designer.cs
@@ -1,41 +1,52 @@
//------------------------------------------------------------------------------
-//
-// Codice generato da uno strumento.
+//
+// This code was generated by a tool.
//
-// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se
-// il codice viene rigenerato.
-//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
//------------------------------------------------------------------------------
-namespace MoonProTablet.WebUserControls {
-
-
- public partial class mod_elencoScarti {
-
+namespace MoonProTablet.WebUserControls
+{
+
+
+ public partial class mod_elencoScarti
+ {
+
///
- /// Controllo mod_selPeriodo.
+ /// cmp_selOdlOrd control.
///
///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::MoonProTablet.WebUserControls.cmp_selOdlOrd cmp_selOdlOrd;
+
+ ///
+ /// mod_selPeriodo control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
///
protected global::MoonProTablet.WebUserControls.mod_selPeriodo mod_selPeriodo;
-
+
///
- /// Controllo grView.
+ /// grView control.
///
///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
///
protected global::System.Web.UI.WebControls.GridView grView;
-
+
///
- /// Controllo ods.
+ /// ods control.
///
///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
///
protected global::System.Web.UI.WebControls.ObjectDataSource ods;
}
diff --git a/MP-TAB/WebUserControls/mod_selPeriodo.ascx b/MP-TAB/WebUserControls/mod_selPeriodo.ascx
index 114a5215..9d8b45b8 100644
--- a/MP-TAB/WebUserControls/mod_selPeriodo.ascx
+++ b/MP-TAB/WebUserControls/mod_selPeriodo.ascx
@@ -1,40 +1,5 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_selPeriodo.ascx.cs" Inherits="MoonProTablet.WebUserControls.mod_selPeriodo" %>
-<%if (false)
- { %>
-
-<%} %>
-