impostato refresh salvataggio selezione dossier post cambio fase...

This commit is contained in:
Samuele E. Locatelli
2016-04-01 14:21:05 +02:00
parent 40bfad7636
commit d1146604c4
4 changed files with 8 additions and 11 deletions
+8 -11
View File
@@ -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.