+
<%--Modo standard: tag cloud--%>
@@ -43,33 +49,33 @@
-
-
-
- elenco
- elencoCPF
- piramide
- standard
-
-
-
-
- 5
- 10
- 15
- 20
- 25
- 30
-
-
+
+
+
+
+ elenco
+ elencoCPF
+ piramide
+ standard
+
-
-
-
-
-
-
- <%----%>
-
-
-
+
+
+ 5
+ 10
+ 15
+ 20
+ 25
+ 30
+
+
+
+
+
+
+
+
+ <%----%>
+
+
+
diff --git a/GPW_Commesse/WebUserControls/mod_TagCloudProgetti.ascx.cs b/GPW_Commesse/WebUserControls/mod_TagCloudProgetti.ascx.cs
index fc1ce5d..6bc308e 100644
--- a/GPW_Commesse/WebUserControls/mod_TagCloudProgetti.ascx.cs
+++ b/GPW_Commesse/WebUserControls/mod_TagCloudProgetti.ascx.cs
@@ -34,6 +34,29 @@ namespace GPW_Commesse.WebUserControls
}
}
///
+ /// valore in sessione dello show add new
+ ///
+ public bool showAdd
+ {
+ get
+ {
+ bool answ = memLayer.ML.BoolSessionObj("showAddNewRec");
+ return answ;
+ }
+ set
+ {
+ memLayer.ML.setSessionVal("showAddNewRec", value);
+ setShowAdd();
+ }
+ }
+ ///
+ /// sistema visualizzazione
+ ///
+ protected void setShowAdd()
+ {
+ tagBlock.Visible = showAdd;
+ }
+ ///
/// load pagina
///
///
@@ -47,7 +70,19 @@ namespace GPW_Commesse.WebUserControls
{
modo = TagCloudMode.standard;
}
+ cmp_toggle.toggleValue = showAdd;
+ setShowAdd();
}
+ cmp_toggle.ehToggle += Cmp_toggle_ehToggle;
+ }
+ ///
+ /// Gestione evento toggle
+ ///
+ ///
+ ///
+ private void Cmp_toggle_ehToggle(object sender, EventArgs e)
+ {
+ showAdd = cmp_toggle.toggleValue;
}
///
@@ -259,6 +294,16 @@ namespace GPW_Commesse.WebUserControls
eh_refresh(this, new EventArgs());
}
}
+
+ protected void lbtToggleOn_Click(object sender, EventArgs e)
+ {
+ showAdd = !showAdd;
+ }
+
+ protected void lbtToggleOff_Click(object sender, EventArgs e)
+ {
+ showAdd = !showAdd;
+ }
}
public enum TagCloudMode
diff --git a/GPW_Commesse/WebUserControls/mod_TagCloudProgetti.ascx.designer.cs b/GPW_Commesse/WebUserControls/mod_TagCloudProgetti.ascx.designer.cs
index dac39d3..6534da4 100644
--- a/GPW_Commesse/WebUserControls/mod_TagCloudProgetti.ascx.designer.cs
+++ b/GPW_Commesse/WebUserControls/mod_TagCloudProgetti.ascx.designer.cs
@@ -23,6 +23,24 @@ namespace GPW_Commesse.WebUserControls
///
protected global::System.Web.UI.WebControls.RadioButtonList rblOre;
+ ///
+ /// Controllo cmp_toggle.
+ ///
+ ///
+ /// Campo generato automaticamente.
+ /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
+ ///
+ protected global::GPW_Commesse.WebUserControls.cmp_toggle cmp_toggle;
+
+ ///
+ /// Controllo tagBlock.
+ ///
+ ///
+ /// Campo generato automaticamente.
+ /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
+ ///
+ protected global::System.Web.UI.HtmlControls.HtmlGenericControl tagBlock;
+
///
/// Controllo repTagCloud.
///
diff --git a/GPW_Commesse/WebUserControls/mod_commAttivitaDesk.ascx b/GPW_Commesse/WebUserControls/mod_commAttivitaDesk.ascx
index 8930aa3..49d83e7 100644
--- a/GPW_Commesse/WebUserControls/mod_commAttivitaDesk.ascx
+++ b/GPW_Commesse/WebUserControls/mod_commAttivitaDesk.ascx
@@ -3,10 +3,10 @@
<%@ Register Src="mod_dateTime.ascx" TagName="mod_dateTime" TagPrefix="uc1" %>
<%@ Register Src="mod_autocomplete.ascx" TagPrefix="uc2" TagName="mod_autocomplete" %>
-