fix ciclo update pagina pianificazione

This commit is contained in:
Samuele E. Locatelli
2015-05-11 09:03:13 +02:00
parent 749b23586d
commit 2215418c3d
11 changed files with 12 additions and 8 deletions
BIN
View File
Binary file not shown.
@@ -26,8 +26,13 @@ namespace WebSCR.WebUserControls
}
mod_filtroZona.eh_selIndir += mod_selettoreIndirizzo1_eh_selIndir;
mod_filtroPeriodo.eh_selData += mod_filtroPeriodo_eh_selData;
//mod_dettInt.eh_update += mod_dettInt_eh_update;
mod_dettInt.eh_update += mod_dettInt_eh_update;
}
/// <summary>
/// richiesta refresh da inserimento dettaglio
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
void mod_dettInt_eh_update(object sender, EventArgs e)
{
refreshDetail();
@@ -63,14 +68,14 @@ namespace WebSCR.WebUserControls
mod_giornata.eh_newData += mod_giornata_eh_newData;
mod_giornata.Visible = false;
//mod_dettInt.Visible = false;
mod_dettInt.Visible = false;
mod_impegno.Visible = false;
if (qsVal("Data") != "")
{
if (qsVal("IdxImpegno") != "")
{
mod_impegno.Visible = true;
//mod_dettInt.Visible = true;
mod_dettInt.Visible = true;
}
else
{
@@ -85,8 +90,6 @@ namespace WebSCR.WebUserControls
/// <param name="e"></param>
void mod_giornata_eh_newData(object sender, EventArgs e)
{
// FARE!!! spostamento di doUpdate();
//repSlot.DataBind();
refreshDetail();
}
/// <summary>
@@ -98,7 +101,9 @@ namespace WebSCR.WebUserControls
{
refreshDetail();
}
/// <summary>
/// refresh detail
/// </summary>
private void refreshDetail()
{
mod_dispPeriodo.DataFrom = mod_filtroPeriodo.dataFrom.ToString("yyyy-MM-dd");
@@ -106,8 +111,7 @@ namespace WebSCR.WebUserControls
mod_dispPeriodo.Zona = mod_filtroZona.Zona;
mod_dispPeriodo.doUpdate();
mod_impegno.doUpdate();
//mod_dettInt.doUpdate();
mod_dettInt.doUpdate();
}
}
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.