";
+ long recPrev = 0;
+ long recPost = 0;
+ if (action != "")
+ {
+ if (action.Contains("C"))
+ {
+ recPrev = Cache.Count;
+ // reset dati in cache...
+ memLayer.ML.flushRegisteredCache();
+ recPost = Cache.Count;
+ testo += string.Format("Reset Cache: {0} --> {1}", recPrev, recPost);
+ }
+ if (action.Contains("D"))
+ {
+ recPrev = memLayer.ML.numRecAppConf;
+ // reset dati in cache x DbConfig...
+ memLayer.ML.resetAppConf();
+ recPost = memLayer.ML.numRecAppConf;
+ testo += string.Format("Reset DB AppConf: {0} --> {1}", recPrev, recPost);
+ }
+ if (action.Contains("R"))
+ {
+ recPrev = memLayer.ML.numRecRedis;
+ // reset dati in cache x DbConfig...
+ memLayer.ML.redFlushKey("**");
+ recPost = memLayer.ML.numRecRedis;
+ testo += string.Format("Reset Redis: {0} --> {1}", recPrev, recPost);
+ }
+ if (action.Contains("S"))
+ {
+ recPrev = Session.Count;
+ // reset dati in sessione...
+ Session.Clear();
+ recPost = Session.Count;
+ testo += string.Format("Reset Sessione: {0} --> {1}", recPrev, recPost);
+ }
+ if (action.Contains("V"))
+ {
+ recPrev = DataWrap.DW.numRecVoc;
+ // aggiorno vocabolario
+ DataWrap.DW.resetVocabolario();
+ recPost = DataWrap.DW.numRecVoc;
+ testo += string.Format("Reset Vocabolario: {0} --> {1}", recPrev, recPost);
+ }
+ }
+ lblOut.Text = testo;
+ }
+ ///
+ /// Restitusice l'elenco pareto (decrescente) delle dimensioni browser registrate
+ ///
+ public string paretoBrowserSize
+ {
+ get
+ {
+ StringBuilder sb = new StringBuilder();
+ string redHash = memLayer.ML.redHash("COUNT:wh:*");
+ int numRec = memLayer.ML.redCountKey(redHash);
+ List> kvp = memLayer.ML.redGetCounterByKey(redHash, memLayer.kvpOrderBy.ValDesc);
+ // riordino elenco
+
+ sb.AppendLine(string.Format("Trovate {0} combinazioni", numRec));
+ foreach (var item in kvp)
+ {
+ sb.AppendLine(string.Format("{0}: {1}", item.Key.Replace(memLayer.ML.redHash("COUNT:wh:"), ""), item.Value));
+ }
+ return sb.ToString();
+ }
+ }
+ ///
+ /// Formatta un numero da int a size in Kb/Mb/Gb/Tb
+ ///
+ ///
+ ///
+ public string memFormat(double rawSize)
+ {
+ string[] sizes = { "B", "KB", "MB", "GB", "TB" };
+ int order = 0;
+ while (rawSize >= 1024 && order < sizes.Length - 1)
+ {
+ order++;
+ rawSize = rawSize / 1024;
+ }
+
+ // Adjust the format string to your preferences. For example "{0:0.#}{1}" would
+ // show a single decimal place, and no space.
+ return String.Format("{0:0.##} {1}", rawSize, sizes[order]);
+ }
+ ///
+ /// Dati sui server redis...
+ ///
+ public string redisServersData
+ {
+ get
+ {
+ StringBuilder sb = new StringBuilder();
+ try
+ {
+ var servData = memLayer.ML.redServInfo();
+ foreach (var item in servData)
+ {
+ sb.AppendLine(string.Format("Server: {0} | {1} | {2}", item, item.Version, item.ServerType));
+ // da completare con altre info?!?
+ var srvInfo = item.Info();
+ // esporto un pò di info x gruppo...
+ foreach (IGrouping> capitolo in srvInfo)
+ {
+ sb.AppendLine("----------------------------------------------");
+ sb.AppendLine(string.Format("Capitolo: {0}", capitolo.Key));
+ sb.AppendLine("----------------------------------------------");
+ foreach (var kvp in capitolo)
+ {
+ sb.AppendLine(string.Format("{0}:{1}", kvp.Key, kvp.Value));
+ }
+
+ sb.AppendLine();
+ }
+ }
+ }
+ catch (Exception exc)
+ {
+ logger.lg.scriviLog(string.Format("Errore in redisServersData{0}{1}", Environment.NewLine, exc), tipoLog.EXCEPTION);
+ }
+ return sb.ToString();
+ }
+ }
+ ///
+ /// Stringa timing
+ ///
+ ///
+ ///
+ public string ToDateString(TimeSpan time)
+ {
+ return string.Format("{0}gg, {1:00}:{2:00}:{3:00} (h:m:s)", time.Days, time.Hours, time.Minutes, time.Seconds);
+ }
+ ///
+ /// Statistiche server
+ ///
+ public string ServerStats
+ {
+ get
+ {
+ StringBuilder sb = new StringBuilder();
+ try
+ {
+ // calcoli preliminari
+ TimeSpan uptime;
+ using (var uptimeCounter = new PerformanceCounter("System", "System Up Time"))
+ {
+ uptimeCounter.NextValue();
+ uptime = TimeSpan.FromSeconds(uptimeCounter.NextValue());
+ }
+ var computer = new ComputerInfo();
+
+ // compongo output
+ sb.AppendLine(string.Format("NAME: {0}", Environment.MachineName));
+ sb.AppendLine(Environment.OSVersion.VersionString);
+ sb.AppendLine(string.Format("OS 64bit: {0} | PROC 64bit: {1}", Environment.Is64BitOperatingSystem, Environment.Is64BitProcess));
+ sb.AppendLine(string.Format("SYS UPTIME: {0}", ToDateString(uptime)));
+ sb.AppendLine(string.Format("CPU: {0}", Environment.ProcessorCount));
+ sb.AppendLine(string.Format("RAM: {0}", memFormat(computer.TotalPhysicalMemory)));
+ sb.AppendLine(string.Format("Virtual Memory: {0}", memFormat(computer.TotalVirtualMemory)));
+ sb.AppendLine(string.Format("Available RAM: {0}", memFormat(computer.AvailablePhysicalMemory)));
+ sb.AppendLine(string.Format("Available Virtual Memory: {0}", memFormat(computer.AvailableVirtualMemory)));
+ sb.AppendLine(string.Format("DIR: {0}", Environment.CurrentDirectory));
+ sb.AppendLine(string.Format("USER: {0} | USER: {1}", Environment.UserDomainName, Environment.UserName));
+ }
+ catch(Exception exc)
+ {
+ logger.lg.scriviLog(string.Format("Errore in ServerStats{0}{1}", Environment.NewLine, exc), tipoLog.EXCEPTION);
+ }
+ return sb.ToString();
+ }
+ }
+ public string IISStats
+ {
+ get
+ {
+ StringBuilder sb = new StringBuilder();
+ using (var iis = Process.GetCurrentProcess())
+ {
+ //Process iis = Process.GetCurrentProcess();
+ sb.AppendLine(string.Format("UPTIME: {0}", ToDateString(DateTime.Now - iis.StartTime)));
+ sb.AppendLine(string.Format("Priority: {0}", iis.PriorityClass));
+ sb.AppendLine(string.Format("Physical Memory Used: {0}", memFormat(iis.WorkingSet64)));
+ sb.AppendLine(string.Format("Virtual Memory Used: {0}", memFormat(iis.VirtualMemorySize64)));
+ }
+ return sb.ToString();
+ }
+ }
+ public string mainAssembly
+ {
+ get
+ {
+ string answ = "";
+ try
+ {
+ answ = assembly.FullName;
+ }
+ catch
+ { }
+ return answ;
+ }
+ }
+ public string runtimeImg
+ {
+ get
+ {
+ string answ = "";
+ try
+ {
+ answ = assembly.ImageRuntimeVersion;
+ }
+ catch
+ { }
+ return answ;
+ }
+ }
+ public string librariesVers
+ {
+ get
+ {
+ string answ = "";
+ try
+ {
+ AssemblyName[] referencedAssemblyNames = assembly.GetReferencedAssemblies();
+ foreach (AssemblyName referencedAssemblyName in referencedAssemblyNames.OrderBy(n => n.Name))
+ {
+ answ += referencedAssemblyName.FullName + Environment.NewLine;
+ }
+ }
+ catch
+ { }
+ return answ;
+ }
+ }
+ ///
+ /// Num di librerie inserite
+ ///
+ public int numLibraries
+ {
+ get
+ {
+ int numLib = 0; ;
+ try
+ {
+ AssemblyName[] referencedAssemblyNames = assembly.GetReferencedAssemblies();
+ foreach (AssemblyName referencedAssemblyName in referencedAssemblyNames.OrderBy(n => n.Name))
+ {
+ numLib++;
+ }
+ }
+ catch
+ { }
+ return numLib;
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/CMS_SC/About.aspx.designer.cs b/CMS_SC/About.aspx.designer.cs
new file mode 100644
index 0000000..2662c28
--- /dev/null
+++ b/CMS_SC/About.aspx.designer.cs
@@ -0,0 +1,78 @@
+//------------------------------------------------------------------------------
+//
+// Codice generato da uno strumento.
+//
+// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se
+// il codice viene rigenerato.
+//
+//------------------------------------------------------------------------------
+
+namespace CMS_SC {
+
+
+ public partial class About {
+
+ ///
+ /// Controllo lbtGrp01.
+ ///
+ ///
+ /// 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.LinkButton lbtGrp01;
+
+ ///
+ /// Controllo LinkButton1.
+ ///
+ ///
+ /// 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.LinkButton LinkButton1;
+
+ ///
+ /// Controllo LinkButton2.
+ ///
+ ///
+ /// 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.LinkButton LinkButton2;
+
+ ///
+ /// Controllo LinkButton3.
+ ///
+ ///
+ /// 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.LinkButton LinkButton3;
+
+ ///
+ /// Controllo lbtGrp02.
+ ///
+ ///
+ /// 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.LinkButton lbtGrp02;
+
+ ///
+ /// Controllo lbtGrp03.
+ ///
+ ///
+ /// 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.LinkButton lbtGrp03;
+
+ ///
+ /// Controllo lblOut.
+ ///
+ ///
+ /// 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.Label lblOut;
+ }
+}
diff --git a/CMS_SC/AnagFamMacchine.aspx b/CMS_SC/AnagFamMacchine.aspx
index a412d26..d881626 100644
--- a/CMS_SC/AnagFamMacchine.aspx
+++ b/CMS_SC/AnagFamMacchine.aspx
@@ -8,17 +8,17 @@
-
-
-
-
<%: traduci("AnagFamMacchine") %>
-
-
-
-
-
-
+
+
+
+ <%: traduci("AnagFamMacchine") %>
+
+
+
+
+
+
diff --git a/CMS_SC/AnagFamMacchine.aspx.cs b/CMS_SC/AnagFamMacchine.aspx.cs
index b940170..c2d1544 100644
--- a/CMS_SC/AnagFamMacchine.aspx.cs
+++ b/CMS_SC/AnagFamMacchine.aspx.cs
@@ -1,10 +1,6 @@
using SteamWare;
using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Web;
using System.Web.UI;
-using System.Web.UI.WebControls;
namespace CMS_SC
{
diff --git a/CMS_SC/AnagFamMacchine.aspx.designer.cs b/CMS_SC/AnagFamMacchine.aspx.designer.cs
index ce39d42..460d130 100644
--- a/CMS_SC/AnagFamMacchine.aspx.designer.cs
+++ b/CMS_SC/AnagFamMacchine.aspx.designer.cs
@@ -1,10 +1,10 @@
//------------------------------------------------------------------------------
-//
-// This code was generated by a tool.
+//
+// Codice generato da uno strumento.
//
-// Changes to this file may cause incorrect behavior and will be lost if
-// the code is regenerated.
-//
+// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se
+// il codice viene rigenerato.
+//
//------------------------------------------------------------------------------
namespace CMS_SC {
@@ -13,20 +13,20 @@ namespace CMS_SC {
public partial class AnagFamMacchine {
///
- /// mod_AnagFamMacc control.
+ /// Controllo mod_AnagFamMacc.
///
///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
+ /// Campo generato automaticamente.
+ /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
///
protected global::CMS_SC.WebUserControls.mod_AnagFamMacc mod_AnagFamMacc;
///
- /// mod_righePag control.
+ /// Controllo mod_righePag.
///
///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
+ /// Campo generato automaticamente.
+ /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
///
protected global::mod_righePag mod_righePag;
}
diff --git a/CMS_SC/AnagFasi.aspx b/CMS_SC/AnagFasi.aspx
index 5868fa0..9eaf403 100644
--- a/CMS_SC/AnagFasi.aspx
+++ b/CMS_SC/AnagFasi.aspx
@@ -1,4 +1,4 @@
-<%@ Page Title="" Language="C#" MasterPageFile="~/Bootstrap.Master" AutoEventWireup="true" CodeBehind="AnagFasi.aspx.cs" Inherits="CMS_SC.AnagFasi" EnableEventValidation = "false" %>
+<%@ Page Title="" Language="C#" MasterPageFile="~/Bootstrap.Master" AutoEventWireup="true" CodeBehind="AnagFasi.aspx.cs" Inherits="CMS_SC.AnagFasi" EnableEventValidation="false" %>
<%@ Register Src="~/WebUserControls/mod_anagFasi.ascx" TagName="mod_anagFasi" TagPrefix="uc1" %>
<%@ Register Src="~/WebUserControls/mod_righePag.ascx" TagName="mod_righePag" TagPrefix="uc2" %>
@@ -7,17 +7,17 @@
-
-
-
-
<%: traduci("AnagFasi") %>
-
-
-
-
-
-
+
+
+
+ <%: traduci("AnagFasi") %>
+
+
+
+
+
+
diff --git a/CMS_SC/AnagFasi.aspx.cs b/CMS_SC/AnagFasi.aspx.cs
index edb200d..405feb4 100644
--- a/CMS_SC/AnagFasi.aspx.cs
+++ b/CMS_SC/AnagFasi.aspx.cs
@@ -1,10 +1,6 @@
using SteamWare;
using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Web;
using System.Web.UI;
-using System.Web.UI.WebControls;
namespace CMS_SC
{
diff --git a/CMS_SC/AnagFasi.aspx.designer.cs b/CMS_SC/AnagFasi.aspx.designer.cs
index 1e4eaf7..134681c 100644
--- a/CMS_SC/AnagFasi.aspx.designer.cs
+++ b/CMS_SC/AnagFasi.aspx.designer.cs
@@ -1,10 +1,10 @@
//------------------------------------------------------------------------------
-//
-// This code was generated by a tool.
+//
+// Codice generato da uno strumento.
//
-// Changes to this file may cause incorrect behavior and will be lost if
-// the code is regenerated.
-//
+// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se
+// il codice viene rigenerato.
+//
//------------------------------------------------------------------------------
namespace CMS_SC {
@@ -13,20 +13,20 @@ namespace CMS_SC {
public partial class AnagFasi {
///
- /// mod_anagFasi control.
+ /// Controllo mod_anagFasi.
///
///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
+ /// Campo generato automaticamente.
+ /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
///
protected global::CMS_SC.WebUserControls.mod_anagFasi mod_anagFasi;
///
- /// mod_righePag control.
+ /// Controllo mod_righePag.
///
///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
+ /// Campo generato automaticamente.
+ /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
///
protected global::mod_righePag mod_righePag;
}
diff --git a/CMS_SC/AnagMatricole.aspx b/CMS_SC/AnagMatricole.aspx
index e38994c..df40675 100644
--- a/CMS_SC/AnagMatricole.aspx
+++ b/CMS_SC/AnagMatricole.aspx
@@ -9,31 +9,31 @@
-
-
-
-
-
-
<%: traduci("AnagMatricole") %>
-
-
-
-
-
-
-
-
-
-
-
<%: traduci("ElencoTags") %>
-
-
-
-
-
-
+
+
+
+
+
+ <%: traduci("AnagMatricole") %>
+
+
+
+
+
+
+
+
+
+ <%: traduci("ElencoTags") %>
+
+
+
+
+
+
+
diff --git a/CMS_SC/AnagMatricole.aspx.cs b/CMS_SC/AnagMatricole.aspx.cs
index 9186b88..3444827 100644
--- a/CMS_SC/AnagMatricole.aspx.cs
+++ b/CMS_SC/AnagMatricole.aspx.cs
@@ -1,10 +1,6 @@
using SteamWare;
using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Web;
using System.Web.UI;
-using System.Web.UI.WebControls;
namespace CMS_SC
{
diff --git a/CMS_SC/AnagMatricole.aspx.designer.cs b/CMS_SC/AnagMatricole.aspx.designer.cs
index 8a7fc4f..b421e29 100644
--- a/CMS_SC/AnagMatricole.aspx.designer.cs
+++ b/CMS_SC/AnagMatricole.aspx.designer.cs
@@ -1,10 +1,10 @@
//------------------------------------------------------------------------------
-//
-// This code was generated by a tool.
+//
+// Codice generato da uno strumento.
//
-// Changes to this file may cause incorrect behavior and will be lost if
-// the code is regenerated.
-//
+// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se
+// il codice viene rigenerato.
+//
//------------------------------------------------------------------------------
namespace CMS_SC {
@@ -13,38 +13,38 @@ namespace CMS_SC {
public partial class AnagMatricole {
///
- /// mod_anagMatricole control.
+ /// Controllo mod_anagMatricole.
///
///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
+ /// Campo generato automaticamente.
+ /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
///
protected global::CMS_SC.WebUserControls.mod_anagMatricole mod_anagMatricole;
///
- /// mod_righePag control.
+ /// Controllo mod_righePag.
///
///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
+ /// Campo generato automaticamente.
+ /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
///
protected global::mod_righePag mod_righePag;
///
- /// divTags control.
+ /// Controllo divTags.
///
///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
+ /// 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 divTags;
///
- /// mod_tags2macchine control.
+ /// Controllo mod_tags2macchine.
///
///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
+ /// Campo generato automaticamente.
+ /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
///
protected global::CMS_SC.WebUserControls.mod_tags2macchine mod_tags2macchine;
}
diff --git a/CMS_SC/AnagMisure.aspx.cs b/CMS_SC/AnagMisure.aspx.cs
index e80078b..1ddb037 100644
--- a/CMS_SC/AnagMisure.aspx.cs
+++ b/CMS_SC/AnagMisure.aspx.cs
@@ -1,9 +1,4 @@
using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Web;
-using System.Web.UI;
-using System.Web.UI.WebControls;
namespace CMS_SC
{
diff --git a/CMS_SC/AnagSchedeColl.aspx b/CMS_SC/AnagSchedeColl.aspx
index f10276b..22927bf 100644
--- a/CMS_SC/AnagSchedeColl.aspx
+++ b/CMS_SC/AnagSchedeColl.aspx
@@ -1,4 +1,4 @@
-<%@ Page Title="" Language="C#" MasterPageFile="~/Bootstrap.Master" AutoEventWireup="true" CodeBehind="AnagSchedeColl.aspx.cs" Inherits="CMS_SC.AnagSchedeColl" EnableEventValidation = "false" %>
+<%@ Page Title="" Language="C#" MasterPageFile="~/Bootstrap.Master" AutoEventWireup="true" CodeBehind="AnagSchedeColl.aspx.cs" Inherits="CMS_SC.AnagSchedeColl" EnableEventValidation="false" %>
<%@ Register Src="~/WebUserControls/mod_anagSchedeColl.ascx" TagName="mod_anagSchedeColl" TagPrefix="uc1" %>
<%@ Register Src="~/WebUserControls/mod_righePag.ascx" TagName="mod_righePag" TagPrefix="uc2" %>
@@ -7,17 +7,17 @@
-
-
-
-
<%: traduci("AnagSchedeColl") %>
-
-
-
-
-
-
+
+
+
+ <%: traduci("AnagSchedeColl") %>
+
+
+
+
+
+
diff --git a/CMS_SC/AnagSchedeColl.aspx.cs b/CMS_SC/AnagSchedeColl.aspx.cs
index 6f2f7b4..e56c99a 100644
--- a/CMS_SC/AnagSchedeColl.aspx.cs
+++ b/CMS_SC/AnagSchedeColl.aspx.cs
@@ -1,37 +1,33 @@
using SteamWare;
using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Web;
using System.Web.UI;
-using System.Web.UI.WebControls;
namespace CMS_SC
{
- public partial class AnagSchedeColl : System.Web.UI.Page
+ public partial class AnagSchedeColl : System.Web.UI.Page
+ {
+ protected void Page_Load(object sender, EventArgs e)
{
- protected void Page_Load(object sender, EventArgs e)
- {
- if (!Page.IsPostBack)
- {
- ((Bootstrap)this.Master).showSearch = true;
- mod_righePag.numRowPag = 20;
- mod_anagSchedeColl.pageSize = mod_righePag.numRowPag;
- }
- mod_righePag.eh_newNum += mod_righePag_eh_newNum;
- }
- ///
- /// wrapper traduzione
- ///
- ///
- ///
- public string traduci(string lemma)
- {
- return user_std.UtSn.Traduci(lemma);
- }
- void mod_righePag_eh_newNum(object sender, EventArgs e)
- {
- mod_anagSchedeColl.pageSize = mod_righePag.numRowPag;
- }
+ if (!Page.IsPostBack)
+ {
+ ((Bootstrap)this.Master).showSearch = true;
+ mod_righePag.numRowPag = 20;
+ mod_anagSchedeColl.pageSize = mod_righePag.numRowPag;
+ }
+ mod_righePag.eh_newNum += mod_righePag_eh_newNum;
}
+ ///
+ /// wrapper traduzione
+ ///
+ ///
+ ///
+ public string traduci(string lemma)
+ {
+ return user_std.UtSn.Traduci(lemma);
+ }
+ void mod_righePag_eh_newNum(object sender, EventArgs e)
+ {
+ mod_anagSchedeColl.pageSize = mod_righePag.numRowPag;
+ }
+ }
}
\ No newline at end of file
diff --git a/CMS_SC/AnagSchedeColl.aspx.designer.cs b/CMS_SC/AnagSchedeColl.aspx.designer.cs
index 40cdd45..6b5c009 100644
--- a/CMS_SC/AnagSchedeColl.aspx.designer.cs
+++ b/CMS_SC/AnagSchedeColl.aspx.designer.cs
@@ -1,10 +1,10 @@
//------------------------------------------------------------------------------
-//
-// This code was generated by a tool.
+//
+// Codice generato da uno strumento.
//
-// Changes to this file may cause incorrect behavior and will be lost if
-// the code is regenerated.
-//
+// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se
+// il codice viene rigenerato.
+//
//------------------------------------------------------------------------------
namespace CMS_SC {
@@ -13,20 +13,20 @@ namespace CMS_SC {
public partial class AnagSchedeColl {
///
- /// mod_anagSchedeColl control.
+ /// Controllo mod_anagSchedeColl.
///
///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
+ /// Campo generato automaticamente.
+ /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
///
protected global::CMS_SC.WebUserControls.mod_anagSchedeColl mod_anagSchedeColl;
///
- /// mod_righePag control.
+ /// Controllo mod_righePag.
///
///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
+ /// Campo generato automaticamente.
+ /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
///
protected global::mod_righePag mod_righePag;
}
diff --git a/CMS_SC/AnagTags.aspx b/CMS_SC/AnagTags.aspx
index b672444..372bacf 100644
--- a/CMS_SC/AnagTags.aspx
+++ b/CMS_SC/AnagTags.aspx
@@ -1,22 +1,23 @@
-<%@ Page Title="" Language="C#" MasterPageFile="~/Bootstrap.Master" AutoEventWireup="true" CodeBehind="AnagTags.aspx.cs" Inherits="CMS_SC.AnagTags" EnableEventValidation = "false" %>
-<%@ Register src="~/WebUserControls/mod_anagTags.ascx" tagname="mod_anagTags" tagprefix="uc1" %>
+<%@ Page Title="" Language="C#" MasterPageFile="~/Bootstrap.Master" AutoEventWireup="true" CodeBehind="AnagTags.aspx.cs" Inherits="CMS_SC.AnagTags" EnableEventValidation="false" %>
+
+<%@ Register Src="~/WebUserControls/mod_anagTags.ascx" TagName="mod_anagTags" TagPrefix="uc1" %>
<%@ Register Src="~/WebUserControls/mod_righePag.ascx" TagName="mod_righePag" TagPrefix="uc2" %>
-
-
-
-
<%: traduci("AnagFasi") %>
-
-
-
-
-
-
+
+
+
+ <%: traduci("AnagTags") %>
+
+
+
+
+
+
diff --git a/CMS_SC/AnagTags.aspx.cs b/CMS_SC/AnagTags.aspx.cs
index 671498e..92556d9 100644
--- a/CMS_SC/AnagTags.aspx.cs
+++ b/CMS_SC/AnagTags.aspx.cs
@@ -1,10 +1,6 @@
using SteamWare;
using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Web;
using System.Web.UI;
-using System.Web.UI.WebControls;
namespace CMS_SC
{
diff --git a/CMS_SC/AnagTags.aspx.designer.cs b/CMS_SC/AnagTags.aspx.designer.cs
index 1f818d2..4d6ccce 100644
--- a/CMS_SC/AnagTags.aspx.designer.cs
+++ b/CMS_SC/AnagTags.aspx.designer.cs
@@ -1,10 +1,10 @@
//------------------------------------------------------------------------------
-//
-// This code was generated by a tool.
+//
+// Codice generato da uno strumento.
//
-// Changes to this file may cause incorrect behavior and will be lost if
-// the code is regenerated.
-//
+// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se
+// il codice viene rigenerato.
+//
//------------------------------------------------------------------------------
namespace CMS_SC {
@@ -13,20 +13,20 @@ namespace CMS_SC {
public partial class AnagTags {
///
- /// mod_anagTags control.
+ /// Controllo mod_anagTags.
///
///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
+ /// Campo generato automaticamente.
+ /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
///
protected global::CMS_SC.WebUserControls.mod_anagTags mod_anagTags;
///
- /// mod_righePag control.
+ /// Controllo mod_righePag.
///
///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
+ /// Campo generato automaticamente.
+ /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
///
protected global::mod_righePag mod_righePag;
}
diff --git a/CMS_SC/App_Start/BundleConfig.cs b/CMS_SC/App_Start/BundleConfig.cs
index 86f583c..874b254 100644
--- a/CMS_SC/App_Start/BundleConfig.cs
+++ b/CMS_SC/App_Start/BundleConfig.cs
@@ -1,59 +1,57 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Web;
-using System.Web.Optimization;
+using System.Web.Optimization;
namespace CMS_SC
{
- public class BundleConfig
+ public class BundleConfig
+ {
+ // For more information on Bundling, visit http://go.microsoft.com/fwlink/?LinkId=254726
+ public static void RegisterBundles(BundleCollection bundles)
{
- // For more information on Bundling, visit http://go.microsoft.com/fwlink/?LinkId=254726
- public static void RegisterBundles(BundleCollection bundles)
- {
- bundles.Add(new ScriptBundle("~/bundles/WebFormsJs").Include(
- "~/Scripts/WebForms/WebForms.js",
- "~/Scripts/WebForms/WebUIValidation.js",
- "~/Scripts/WebForms/MenuStandards.js",
- "~/Scripts/WebForms/Focus.js",
- "~/Scripts/WebForms/GridView.js",
- "~/Scripts/WebForms/DetailsView.js",
- "~/Scripts/WebForms/TreeView.js",
- "~/Scripts/WebForms/WebParts.js"));
+ bundles.Add(new ScriptBundle("~/bundles/WebFormsJs").Include(
+ "~/Scripts/WebForms/WebForms.js",
+ "~/Scripts/WebForms/WebUIValidation.js",
+ "~/Scripts/WebForms/MenuStandards.js",
+ "~/Scripts/WebForms/Focus.js",
+ "~/Scripts/WebForms/GridView.js",
+ "~/Scripts/WebForms/DetailsView.js",
+ "~/Scripts/WebForms/TreeView.js",
+ "~/Scripts/WebForms/WebParts.js"));
- bundles.Add(new ScriptBundle("~/bundles/MsAjaxJs").Include(
- "~/Scripts/WebForms/MsAjax/MicrosoftAjax.js",
- "~/Scripts/WebForms/MsAjax/MicrosoftAjaxApplicationServices.js",
- "~/Scripts/WebForms/MsAjax/MicrosoftAjaxTimer.js",
- "~/Scripts/WebForms/MsAjax/MicrosoftAjaxWebForms.js"));
+ bundles.Add(new ScriptBundle("~/bundles/MsAjaxJs").Include(
+ "~/Scripts/WebForms/MsAjax/MicrosoftAjax.js",
+ "~/Scripts/WebForms/MsAjax/MicrosoftAjaxApplicationServices.js",
+ "~/Scripts/WebForms/MsAjax/MicrosoftAjaxTimer.js",
+ "~/Scripts/WebForms/MsAjax/MicrosoftAjaxWebForms.js"));
- // Use the Development version of Modernizr to develop with and learn from. Then, when you’re
- // ready for production, use the build tool at http://modernizr.com to pick only the tests you need
- bundles.Add(new ScriptBundle("~/bundles/modernizr").Include(
- "~/Scripts/modernizr-*"));
+ // Use the Development version of Modernizr to develop with and learn from. Then, when you’re
+ // ready for production, use the build tool at http://modernizr.com to pick only the tests you need
+ bundles.Add(new ScriptBundle("~/bundles/modernizr").Include(
+ "~/Scripts/modernizr-*"));
+
+ bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
+ "~/Scripts/jquery-{version}.js"));
+ bundles.Add(new ScriptBundle("~/bundles/jqueryui").Include(
+ "~/Scripts/jquery-ui-{version}.js"));
- bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
- "~/Scripts/jquery-{version}.js"));
+ bundles.Add(new ScriptBundle("~/bundles/jSteamware").Include(
+ "~/Scripts/jSteamware*"));
- bundles.Add(new ScriptBundle("~/bundles/jqueryui").Include(
- "~/Scripts/jquery-ui-{version}.js"));
- bundles.Add(new ScriptBundle("~/bundles/jSteamware").Include(
- "~/Scripts/jSteamware*"));
+ bundles.Add(new ScriptBundle("~/bundles/BrowserWindowSize").Include(
+ "~/Scripts/BrowserWindowSize.js"));
+ //bundles.Add(new ScriptBundle("~/bundles/jqueryval").Include(
+ // "~/Scripts/jquery.unobtrusive*",
+ // "~/Scripts/jquery.validate*"));
- //bundles.Add(new ScriptBundle("~/bundles/jqueryval").Include(
- // "~/Scripts/jquery.unobtrusive*",
- // "~/Scripts/jquery.validate*"));
+ // aggiungo bundle dinamico x less --> css
+ //bundles.Add(new DynamicFolderBundle("less", "*.less"));
- // aggiungo bundle dinamico x less --> css
- //bundles.Add(new DynamicFolderBundle("less", "*.less"));
+ // aggiungo bundle dinamico x coffee --> jscript
+ //bundles.Add(new DynamicFolderBundle("coffee", "*.coffee"));
- // aggiungo bundle dinamico x coffee --> jscript
- //bundles.Add(new DynamicFolderBundle("coffee", "*.coffee"));
-
- // abilito boundle "forzato"!
- BundleTable.EnableOptimizations = true;
- }
+ // abilito boundle "forzato"!
+ BundleTable.EnableOptimizations = true;
}
+ }
}
\ No newline at end of file
diff --git a/CMS_SC/App_Start/RouteConfig.cs b/CMS_SC/App_Start/RouteConfig.cs
index 84d6c50..21b97ac 100644
--- a/CMS_SC/App_Start/RouteConfig.cs
+++ b/CMS_SC/App_Start/RouteConfig.cs
@@ -1,8 +1,5 @@
-using System;
-using System.Collections.Generic;
-using System.Web;
-using System.Web.Routing;
using Microsoft.AspNet.FriendlyUrls;
+using System.Web.Routing;
namespace CMS_SC
{
diff --git a/CMS_SC/Bootstrap.Master b/CMS_SC/Bootstrap.Master
index 0a889b6..1c348d1 100644
--- a/CMS_SC/Bootstrap.Master
+++ b/CMS_SC/Bootstrap.Master
@@ -1,123 +1,95 @@
<%@ Master Language="C#" AutoEventWireup="true" CodeBehind="Bootstrap.master.cs" Inherits="CMS_SC.Bootstrap" %>
-
+<%if (false)
+ { %>
+
+<%} %>
<%@ Register Src="~/WebUserControls/mod_testata.ascx" TagPrefix="uc1" TagName="mod_testata" %>
-
-
-
-
-
-
-
- <%: Page.Title %> - CMS_SC
+
+
+
+
+
+
+
+ <%: Page.Title %> - CMS_SC
-
- <%: Scripts.Render("~/bundles/modernizr") %>
- <%: Scripts.Render("~/bundles/jquery") %>
- <%: Scripts.Render("~/bundles/jqueryui") %>
-
-
-
-
-
-
-
+
+ <%: Scripts.Render("~/bundles/modernizr") %>
+ <%: Scripts.Render("~/bundles/jquery") %>
+ <%: Scripts.Render("~/bundles/jqueryui") %>
+ <%: Scripts.Render("~/bundles/BrowserWindowSize") %>
+
+
+
+
+
-