+
+
diff --git a/PROJ-ETS/PROJ-ETS/WebUserControls/mod_fattETS.ascx.cs b/PROJ-ETS/PROJ-ETS/WebUserControls/mod_fattETS.ascx.cs
index a5afc46..0c3591d 100644
--- a/PROJ-ETS/PROJ-ETS/WebUserControls/mod_fattETS.ascx.cs
+++ b/PROJ-ETS/PROJ-ETS/WebUserControls/mod_fattETS.ascx.cs
@@ -35,5 +35,21 @@ namespace PROJ_ETS.WebUserControls
AnnoComm.Text = value;
}
}
+ ///
+ /// accorcia stringa...
+ ///
+ ///
+ ///
+ ///
+ public string shorten(object origText, object maxLenght)
+ {
+ string answ = origText.ToString();
+ int maxLen = Convert.ToInt32(maxLenght);
+ if (answ.Length > maxLen)
+ {
+ answ = answ.Substring(0, maxLen-3) + "...";
+ }
+ return answ;
+ }
}
}
\ No newline at end of file
diff --git a/PROJ-ETS/PROJ-ETS/WebUserControls/mod_riepilogo.ascx b/PROJ-ETS/PROJ-ETS/WebUserControls/mod_riepilogo.ascx
index 05a618b..eab2348 100644
--- a/PROJ-ETS/PROJ-ETS/WebUserControls/mod_riepilogo.ascx
+++ b/PROJ-ETS/PROJ-ETS/WebUserControls/mod_riepilogo.ascx
@@ -1,7 +1,7 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_riepilogo.ascx.cs" Inherits="PROJ_ETS.WebUserControls.mod_riepilogo" %>
<%@ Register Src="mod_fattETS.ascx" TagName="mod_fattETS" TagPrefix="uc1" %>
-<%@ Register Src="~/WebUserControls/mod_elencoDoc.ascx" TagPrefix="uc1" TagName="mod_elencoDoc" %>
+<%@ Register Src="mod_elencoDoc.ascx" TagPrefix="uc2" TagName="mod_elencoDoc" %>
@@ -57,7 +57,7 @@
-