fix bug doppio caricamento pagina!
This commit is contained in:
+1
-1
@@ -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(...)
|
||||
OK scambiare taRTPV.getByPageChiave(...) --> RTVal(...)
|
||||
@@ -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
|
||||
{
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user