refresh cmp esterno

This commit is contained in:
Samuele Locatelli
2021-03-22 19:57:45 +01:00
parent 5ebad3652d
commit 0186410e4e
2 changed files with 2 additions and 17 deletions
@@ -36,8 +36,8 @@
</asp:UpdatePanel>
<script type="text/javascript">
window.setTimeout(showCharts, 10);
window.setTimeout(hideCharts, 100);
window.setTimeout(showCharts, 5);
window.setTimeout(hideCharts, 20);
//checkVisible();
function checkVisible() {
@@ -357,18 +357,6 @@ namespace GPW_Commesse.WebUserControls
protected void showCharts(bool doShow)
{
divRilTemp.Visible = doShow;
#if false
ScriptManager.RegisterStartupScript(upCharts, this.GetType(), "ShowHideCharts", "checkVisible();", true);
divCharts.Visible = true;
if (doShow)
{
ScriptManager.RegisterStartupScript(upCharts, this.GetType(), "ShowHideCharts", "showCharts();", true);
}
else
{
ScriptManager.RegisterStartupScript(upCharts, this.GetType(), "ShowHideCharts", "hideCharts();", true);
}
#endif
divCharts.Visible = doShow;
}
@@ -459,9 +447,6 @@ namespace GPW_Commesse.WebUserControls
pnlEditOre.Visible = timbr;
mod_commAttivitaDesk1.Visible = commesse;
mod_commUtMancTimbr1.Visible = timbr;
#if false
cmp_rilTemp.Visible = temp;
#endif
showCharts(temp && tempVisible);
upMain.Update();