diff --git a/GMW/Docs/ToDo-s.txt b/GMW/Docs/ToDo-s.txt index d74e18aa..5bd20a4b 100644 --- a/GMW/Docs/ToDo-s.txt +++ b/GMW/Docs/ToDo-s.txt @@ -21,4 +21,4 @@ OK Non controlla se datamatrix giĆ  associato! --> controlla su altra tab NO F5 o refresh cambia linea impostata su 1 (prima era la 2 ) OK NON impostare dataFus e linea SE leggo DTX DOPPIO RELOAD PAGINA - scambiare taRTPV.getByPageChiave(...) --> RTVal(...) \ No newline at end of file +OK scambiare taRTPV.getByPageChiave(...) --> RTVal(...) \ No newline at end of file diff --git a/GMW/WebUserControls/mod_postRX_DT_LIST.ascx.cs b/GMW/WebUserControls/mod_postRX_DT_LIST.ascx.cs index b6bfadbd..5230df05 100644 --- a/GMW/WebUserControls/mod_postRX_DT_LIST.ascx.cs +++ b/GMW/WebUserControls/mod_postRX_DT_LIST.ascx.cs @@ -619,11 +619,6 @@ namespace GMW.WebUserControls qta = pezziUdc; // update particolare updatePart(); - // raise dell'evento - if (eh_reqUpdate != null) - { - eh_reqUpdate(this, new EventArgs()); - } verificaBtnStampa(); txtBarcode.Focus(); } @@ -794,9 +789,15 @@ namespace GMW.WebUserControls get { DS_DataMatrix.Linea2Dtx_IERow answ = null; + DS_DataMatrix.Linea2Dtx_IEDataTable tab = null; try { - answ = DataMatrix.mgr.taL2D.getByLineFormato(Postazione.currCodLinea, FormatoDtmxLinea)[0]; + + tab = DataMatrix.mgr.taL2D.getByLineFormato(Postazione.currCodLinea, FormatoDtmxLinea); + if (tab.Rows.Count > 0) + { + answ = tab[0]; + } } catch { } @@ -882,9 +883,13 @@ namespace GMW.WebUserControls protected void ods_Deleted(object sender, ObjectDataSourceStatusEventArgs e) { - // aggiorno le qta! + Postazione.CssClass = "stileAttesa"; + Postazione.warningText = ""; + Postazione.messaggiText = ""; + currParticolare = ""; qta = 0; doUpdate(); + eh_reqUpdate?.Invoke(this, new EventArgs()); } protected void lbtStampaAL_Click(object sender, EventArgs e) @@ -927,7 +932,9 @@ namespace GMW.WebUserControls currParticolare = ""; qta = 0; } - doUpdate(); + //doUpdate(); + //eh_reqUpdate?.Invoke(this, new EventArgs()); + Response.Redirect(user_std.pagCorrente); } else { diff --git a/GMW/bin/GMW.dll b/GMW/bin/GMW.dll index 7c51f156..f7b11954 100644 Binary files a/GMW/bin/GMW.dll and b/GMW/bin/GMW.dll differ