diff --git a/INTERFACE/WebLCP/WUC/mod_showSvgList.ascx b/INTERFACE/WebLCP/WUC/mod_showSvgList.ascx
index a73ddce..26d6c52 100644
--- a/INTERFACE/WebLCP/WUC/mod_showSvgList.ascx
+++ b/INTERFACE/WebLCP/WUC/mod_showSvgList.ascx
@@ -7,19 +7,24 @@
Plot page
+
+
-
+
Num Columns
+
-
-
-
+
+ <%--
+ --%>
--%>
+
+
diff --git a/INTERFACE/WebLCP/WUC/mod_showSvgList.ascx.cs b/INTERFACE/WebLCP/WUC/mod_showSvgList.ascx.cs
index 3b368ed..4a90a32 100644
--- a/INTERFACE/WebLCP/WUC/mod_showSvgList.ascx.cs
+++ b/INTERFACE/WebLCP/WUC/mod_showSvgList.ascx.cs
@@ -7,16 +7,49 @@ namespace WebLCP.WUC
protected void Page_Load(object sender, EventArgs e)
{
mod_jobsList.eh_doRefresh += Mod_jobsList_eh_doRefresh;
+ doUpdate();
}
private void Mod_jobsList_eh_doRefresh(object sender, EventArgs e)
{
doUpdate();
}
+ ///
+ /// Mostra entrambi i grafici o 1 alla volta
+ ///
+ protected bool showSingle
+ {
+ get
+ {
+ return chkShowSingle.Checked;
+ }
+ set
+ {
+ chkShowSingle.Checked = value;
+ }
+ }
private void doUpdate()
{
- repPlots.DataBind();
+ // in base allos tato di check del selettore scelgo cosa mostrare...
+ repPlotSingle.Visible = false;
+ repPlotAll.Visible = false;
+ if (showSingle)
+ {
+ chkShowSingle.Text = "Show Single Plots";
+ divSelPlot.Visible = true;
+ divSelCol.Visible = true;
+ repPlotSingle.Visible = true;
+ repPlotSingle.DataBind();
+ }
+ else
+ {
+ chkShowSingle.Text = "Show All Plots";
+ divSelPlot.Visible = false;
+ divSelCol.Visible = false;
+ repPlotAll.Visible = true;
+ repPlotAll.DataBind();
+ }
}
protected void ddlNumCol_SelectedIndexChanged(object sender, EventArgs e)
@@ -28,5 +61,11 @@ namespace WebLCP.WUC
{
doUpdate();
}
+
+ protected void chkShowSingle_CheckedChanged(object sender, EventArgs e)
+ {
+ // se selezionato abilito repeatre a due, atlrimenti repeater singolo!
+ doUpdate();
+ }
}
}
\ No newline at end of file
diff --git a/INTERFACE/WebLCP/WUC/mod_showSvgList.ascx.designer.cs b/INTERFACE/WebLCP/WUC/mod_showSvgList.ascx.designer.cs
index e33b882..19f9365 100644
--- a/INTERFACE/WebLCP/WUC/mod_showSvgList.ascx.designer.cs
+++ b/INTERFACE/WebLCP/WUC/mod_showSvgList.ascx.designer.cs
@@ -14,6 +14,24 @@ namespace WebLCP.WUC
public partial class mod_showSvgList
{
+ ///
+ /// Controllo chkShowSingle.
+ ///
+ ///
+ /// Campo generato automaticamente.
+ /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
+ ///
+ protected global::System.Web.UI.WebControls.CheckBox chkShowSingle;
+
+ ///
+ /// Controllo divSelPlot.
+ ///
+ ///
+ /// 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 divSelPlot;
+
///
/// Controllo ddlType.
///
@@ -23,6 +41,15 @@ namespace WebLCP.WUC
///
protected global::System.Web.UI.WebControls.DropDownList ddlType;
+ ///
+ /// Controllo divSelCol.
+ ///
+ ///
+ /// 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 divSelCol;
+
///
/// Controllo ddlNumCol.
///
@@ -41,15 +68,6 @@ namespace WebLCP.WUC
///
protected global::WebLCP.WUC.mod_jobsList mod_jobsList;
- ///
- /// Controllo repPlots.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::System.Web.UI.WebControls.Repeater repPlots;
-
///
/// Controllo odsPlotSelected.
///
@@ -58,5 +76,23 @@ namespace WebLCP.WUC
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
///
protected global::System.Web.UI.WebControls.ObjectDataSource odsPlotSelected;
+
+ ///
+ /// Controllo repPlotSingle.
+ ///
+ ///
+ /// Campo generato automaticamente.
+ /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
+ ///
+ protected global::System.Web.UI.WebControls.Repeater repPlotSingle;
+
+ ///
+ /// Controllo repPlotAll.
+ ///
+ ///
+ /// Campo generato automaticamente.
+ /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
+ ///
+ protected global::System.Web.UI.WebControls.Repeater repPlotAll;
}
}