impostato refresh salvataggio selezione dossier post cambio fase...
This commit is contained in:
+8
-11
@@ -97,8 +97,6 @@ namespace CMS_SC
|
||||
try
|
||||
{
|
||||
ddlFase.SelectedValue = getPar("ddlFase");
|
||||
// imposto selezione x maschera resoconto stato
|
||||
mod_StatoCollaudi.Fase = Fase;
|
||||
}
|
||||
catch
|
||||
{
|
||||
@@ -112,19 +110,12 @@ namespace CMS_SC
|
||||
try
|
||||
{
|
||||
ddlDossier.SelectedValue = getPar("ddlDossier");
|
||||
// imposto selezione x maschera resoconto stato
|
||||
mod_StatoCollaudi.idxDossier = IdxDossier.ToString();
|
||||
}
|
||||
catch
|
||||
{
|
||||
ddlDossier.SelectedIndex = 0;
|
||||
}
|
||||
}
|
||||
// rileggo SE CI SONO i parametri filtrati...
|
||||
if (getPar("ddlSelScheda") != "")
|
||||
{
|
||||
mod_StatoCollaudi.CodSchedaVersNum = getPar("ddlSelScheda");
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -185,12 +176,16 @@ namespace CMS_SC
|
||||
// aggiorno modulo stato..
|
||||
mod_StatoCollaudi.Fase = Fase;
|
||||
mod_StatoCollaudi.idxDossier = IdxDossier.ToString();
|
||||
// rileggo SE CI SONO i parametri filtrati...
|
||||
if (getPar("ddlSelScheda") != "")
|
||||
{
|
||||
mod_StatoCollaudi.CodSchedaVersNum = getPar("ddlSelScheda");
|
||||
}
|
||||
|
||||
// aggiorno modulo collaudi
|
||||
mod_collaudi.IdxDossier = IdxDossier;
|
||||
mod_collaudi.CodSchedaVers = CodSchedaVers;
|
||||
mod_collaudi.Fase = Fase;
|
||||
mod_collaudi.doUpdate();
|
||||
}
|
||||
private void fixControlsPrev()
|
||||
{
|
||||
@@ -304,8 +299,10 @@ namespace CMS_SC
|
||||
// fix visualizzazione
|
||||
ddlDossier.DataBind();
|
||||
fixControls();
|
||||
// salvo anche dossier!
|
||||
savePar("ddlDossier", ddlDossier.SelectedValue);
|
||||
}
|
||||
|
||||
|
||||
protected void ddlFasePrev_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
fixControlsPrev();
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user