From a2603a5b5ae7af389a0d524f168e5d12683be219 Mon Sep 17 00:00:00 2001 From: "Samuele E. Locatelli" Date: Wed, 12 Sep 2018 18:17:32 +0200 Subject: [PATCH] leggo amm da session --- PUB/WebUserContols/mod_anagCond.ascx.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PUB/WebUserContols/mod_anagCond.ascx.cs b/PUB/WebUserContols/mod_anagCond.ascx.cs index 229f5a0..12517c8 100644 --- a/PUB/WebUserContols/mod_anagCond.ascx.cs +++ b/PUB/WebUserContols/mod_anagCond.ascx.cs @@ -36,7 +36,7 @@ namespace PUB.WebUserContols private void checkAdd() { // controllo se mostrare add perché ho condominio + enable add.. - lbtAdd.Visible = (enableAdd && ddlAmmin.SelectedValue != "0"); + lbtAdd.Visible = (enableAdd && idxAmm > 0); } ///