Correzione errore selezione valori collaudi...

This commit is contained in:
Samuele E. Locatelli
2018-03-02 17:01:52 +01:00
parent 4cf6a9c459
commit 64dccff94c
10 changed files with 188 additions and 298 deletions
@@ -12,7 +12,7 @@ namespace CMS_SC.WebUserControls
{
if (!Page.IsPostBack)
{
grView.DataBind();
doUpdate();
}
}
/// <summary>
@@ -41,7 +41,7 @@ namespace CMS_SC.WebUserControls
set
{
hfIdxDossier.Value = value;
grView.DataBind();
//grView.DataBind();
}
}
/// <summary>
@@ -56,7 +56,7 @@ namespace CMS_SC.WebUserControls
set
{
hfFase.Value = value;
grView.DataBind();
//grView.DataBind();
}
}
/// <summary>
@@ -73,7 +73,7 @@ namespace CMS_SC.WebUserControls
set
{
hfRev.Value = value.ToString();
grView.DataBind();
//grView.DataBind();
}
}
@@ -117,7 +117,7 @@ namespace CMS_SC.WebUserControls
// salvo parametro
savePar("ddlSelScheda", CodSchedaVersNum);
// fix visualizzazione...
grView.DataBind();
doUpdate();
// sollevo evento...
raiseEvent(ucEvType.Selected);
}
@@ -138,7 +138,7 @@ namespace CMS_SC.WebUserControls
protected void lbtShowAll_Click(object sender, EventArgs e)
{
grView.SelectedIndex = -1;
grView.DataBind();
doUpdate();
// salvo parametro
savePar("ddlSelScheda", "");
raiseEvent(ucEvType.ReqUpdateParent);
@@ -153,11 +153,11 @@ namespace CMS_SC.WebUserControls
public void resetSelezione()
{
grView.SelectedIndex = -1;
grView.DataBind();
doUpdate();
// salvo parametro
savePar("ddlSelScheda", "");
raiseEvent(ucEvType.Reset);
}
}
}
+1 -1
View File
@@ -104,7 +104,7 @@ namespace CMS_SC.WebUserControls
}
catch (Exception exc)
{
logger.lg.scriviLog(string.Format("Eccezione in databind, valori filtro{0}Dossier: [{1}]{0}CodScheda: [{2}]{0}Fase: [{3}]{0}Eccezione:{0}{4}", Environment.NewLine, IdxDossier, CodSchedaVers, Fase, exc));
logger.lg.scriviLog(string.Format("Eccezione in databind, valori filtro{0}Dossier: [{1}]{0}CodScheda: [{2}]{0}Fase: [{3}]{0}Rev: [{4}]{0}Eccezione:{0}{5}", Environment.NewLine, IdxDossier, CodSchedaVers, Fase, Rev, exc));
}
}
/// <summary>