diff --git a/MP-MAG/BaseUserControl.cs b/MP-MAG/BaseUserControl.cs index 352c806..781779b 100644 --- a/MP-MAG/BaseUserControl.cs +++ b/MP-MAG/BaseUserControl.cs @@ -76,7 +76,7 @@ namespace MP_MAG { get { - return memLayer.ML.CRS("redProdKey"); + return memLayer.ML.redHash(memLayer.ML.CRS("redProdKey")); } } /// @@ -225,6 +225,23 @@ namespace MP_MAG } } /// + /// Verifica se il cod articolo passato (tipicamente Eval DataGrid) sia OK con articolo corrente + /// + /// + /// + public bool codArtOk(object _codArt) + { + bool answ = false; + if (_codArt != null) + { + if (!string.IsNullOrEmpty(_codArt.ToString())) + { + answ = _codArt.ToString() == CurrCodArt; + } + } + return answ; + } + /// /// Descr Articolo corrente x post /// public string CurrArtDesc diff --git a/MP-MAG/Web.config b/MP-MAG/Web.config index 53fb853..1bc42f6 100644 --- a/MP-MAG/Web.config +++ b/MP-MAG/Web.config @@ -18,6 +18,7 @@ + @@ -25,6 +26,7 @@ + diff --git a/MP-MAG/WebUserControls/cmp_semiLavArtOut.ascx b/MP-MAG/WebUserControls/cmp_semiLavArtOut.ascx index 7e3ff48..f43a10d 100644 --- a/MP-MAG/WebUserControls/cmp_semiLavArtOut.ascx +++ b/MP-MAG/WebUserControls/cmp_semiLavArtOut.ascx @@ -20,10 +20,10 @@ - + - + diff --git a/MP-MAG/WebUserControls/cmp_semiLavLottiOut.ascx b/MP-MAG/WebUserControls/cmp_semiLavLottiOut.ascx index 5c1a3d5..b43d52e 100644 --- a/MP-MAG/WebUserControls/cmp_semiLavLottiOut.ascx +++ b/MP-MAG/WebUserControls/cmp_semiLavLottiOut.ascx @@ -21,10 +21,10 @@ - + - + @@ -62,13 +62,15 @@ - - / + + + / - - / + + + /