diff --git a/GMW/WebUserControls/mod_searchMag.ascx.cs b/GMW/WebUserControls/mod_searchMag.ascx.cs
index 5606c428..4ed0e703 100644
--- a/GMW/WebUserControls/mod_searchMag.ascx.cs
+++ b/GMW/WebUserControls/mod_searchMag.ascx.cs
@@ -73,7 +73,8 @@ namespace GMW.WebUserControls
{
chkLikeType.Text = traduci("AbilitaRicercaLike");
chkLikeType.ToolTip = traduci("AbilitaRicercaLikeExpl");
- TBWE_search.WatermarkText = traduci("insertCod4search");
+ txtSearch.Attributes.Remove("placeholder");
+ txtSearch.Attributes.Add("placeholder", traduci("insertCod4search"));
}
protected void txtSearch_TextChanged(object sender, EventArgs e)
{
diff --git a/GMW/WebUserControls/mod_searchMag.ascx.designer.cs b/GMW/WebUserControls/mod_searchMag.ascx.designer.cs
index 093b87d0..3d079787 100644
--- a/GMW/WebUserControls/mod_searchMag.ascx.designer.cs
+++ b/GMW/WebUserControls/mod_searchMag.ascx.designer.cs
@@ -31,13 +31,13 @@ namespace GMW.WebUserControls {
protected global::Microsoft.AspNet.Web.Optimization.WebForms.BundleReference BundleReference2;
///
- /// updtRicerca control.
+ /// lbnSearch control.
///
///
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
///
- protected global::System.Web.UI.UpdateProgress updtRicerca;
+ protected global::System.Web.UI.WebControls.LinkButton lbnSearch;
///
/// txtSearch control.
@@ -48,24 +48,6 @@ namespace GMW.WebUserControls {
///
protected global::System.Web.UI.WebControls.TextBox txtSearch;
- ///
- /// lbnSearch control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.LinkButton lbnSearch;
-
- ///
- /// TBWE_search control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::AjaxControlToolkit.TextBoxWatermarkExtender TBWE_search;
-
///
/// chkLikeType control.
///
@@ -76,13 +58,13 @@ namespace GMW.WebUserControls {
protected global::System.Web.UI.WebControls.CheckBox chkLikeType;
///
- /// updtRicerca2 control.
+ /// updtRicerca control.
///
///
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
///
- protected global::System.Web.UI.UpdateProgress updtRicerca2;
+ protected global::System.Web.UI.UpdateProgress updtRicerca;
///
/// pnlResults control.
diff --git a/GMW/WebUserControls/mod_testata.ascx b/GMW/WebUserControls/mod_testata.ascx
index eb4e5864..32d2bc4a 100644
--- a/GMW/WebUserControls/mod_testata.ascx
+++ b/GMW/WebUserControls/mod_testata.ascx
@@ -24,9 +24,8 @@
-
-
- <%----%>
+
+
diff --git a/GMW/WebUserControls/mod_testata.ascx.cs b/GMW/WebUserControls/mod_testata.ascx.cs
index 21879011..4e183d4b 100644
--- a/GMW/WebUserControls/mod_testata.ascx.cs
+++ b/GMW/WebUserControls/mod_testata.ascx.cs
@@ -47,6 +47,7 @@ namespace GMW.WebUserControls
DataLayer_AnagGen.PermessiRow riga = (DataLayer_AnagGen.PermessiRow)user_std.UtSn.permessi.Select(string.Format("URL = '{0}'", _paginaCorrente))[0];
lblTitolo.Text = traduci(riga.NOME);
lblIconTitolo.CssClass = traduci(riga.DESCRIZIONE);
+ lnkPagCorr.HRef = string.Format("~/{0}", _paginaCorrente);
}
catch
{
@@ -67,9 +68,16 @@ namespace GMW.WebUserControls
///
private void updateTreeMenu()
{
- XmlDataSource1.Data = user_std.UtSn.mappaSito;
- XmlDataSource1.XPath = "mainMenu/menu";
- XmlDataSource1.DataBind();
+ try
+ {
+ XmlDataSource1.Data = user_std.UtSn.mappaSito;
+ XmlDataSource1.XPath = "mainMenu/menu";
+ XmlDataSource1.DataBind();
+ }
+ catch
+ {
+ Response.Redirect(_paginaCorrente);
+ }
}
///
/// forza l'update del menù sx
@@ -95,12 +103,13 @@ namespace GMW.WebUserControls
///
protected void PagCorrente()
{
- Uri MyUrl = Request.Url;
- string delimStr = "/";
- char[] delimiter = delimStr.ToCharArray();
- string[] finalUrl = MyUrl.LocalPath.ToString().Split(delimiter);
- int n = finalUrl.Length;
- _paginaCorrente = finalUrl[n - 1].ToString();
+ //Uri MyUrl = Request.Url;
+ //string delimStr = "/";
+ //char[] delimiter = delimStr.ToCharArray();
+ //string[] finalUrl = MyUrl.LocalPath.ToString().Split(delimiter);
+ //int n = finalUrl.Length;
+ //_paginaCorrente = finalUrl[n - 1].ToString();
+ _paginaCorrente = Request.Url.LocalPath.Replace("/", "");
if (_paginaPrecedente == "")
{
_paginaPrecedente = _paginaCorrente;
diff --git a/GMW/WebUserControls/mod_testata.ascx.designer.cs b/GMW/WebUserControls/mod_testata.ascx.designer.cs
index b23ad98e..0a806c12 100644
--- a/GMW/WebUserControls/mod_testata.ascx.designer.cs
+++ b/GMW/WebUserControls/mod_testata.ascx.designer.cs
@@ -40,13 +40,13 @@ namespace GMW.WebUserControls {
protected global::System.Web.UI.HtmlControls.HtmlAnchor A1;
///
- /// A8 control.
+ /// lnkPagCorr control.
///
///
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
///
- protected global::System.Web.UI.HtmlControls.HtmlAnchor A8;
+ protected global::System.Web.UI.HtmlControls.HtmlAnchor lnkPagCorr;
///
/// lblIconTitolo control.
diff --git a/GMW/bin/GMW.dll b/GMW/bin/GMW.dll
index 14ef3e16..2f376ec2 100644
Binary files a/GMW/bin/GMW.dll and b/GMW/bin/GMW.dll differ
diff --git a/GMW/bin/GMW_data.dll b/GMW/bin/GMW_data.dll
index bc5579e2..1c018625 100644
Binary files a/GMW/bin/GMW_data.dll and b/GMW/bin/GMW_data.dll differ
diff --git a/GMW/bin/SteamWare.dll b/GMW/bin/SteamWare.dll
index e381483e..3296c713 100644
Binary files a/GMW/bin/SteamWare.dll and b/GMW/bin/SteamWare.dll differ
diff --git a/GMW/bin/VersGen.dll b/GMW/bin/VersGen.dll
index af0b7119..646a85de 100644
Binary files a/GMW/bin/VersGen.dll and b/GMW/bin/VersGen.dll differ
diff --git a/GMW/images/fbloader.gif b/GMW/images/fbloader.gif
new file mode 100644
index 00000000..84b16f18
Binary files /dev/null and b/GMW/images/fbloader.gif differ
diff --git a/GMW/test.aspx b/GMW/test.aspx
index 636eb81a..8e50be6b 100644
--- a/GMW/test.aspx
+++ b/GMW/test.aspx
@@ -12,7 +12,7 @@
diff --git a/VersGen/GMW.cs b/VersGen/GMW.cs
index 54f70c8b..a8ab1a76 100644
--- a/VersGen/GMW.cs
+++ b/VersGen/GMW.cs
@@ -5,7 +5,7 @@
using System.Reflection;
-[assembly: AssemblyVersion("2.5.613.1529")]
-[assembly: AssemblyFileVersion("2.5.613.1529")]
+[assembly: AssemblyVersion("2.5.614.1529")]
+[assembly: AssemblyFileVersion("2.5.614.1529")]
//[assembly: AssemblyCopyright("© Steamware 2007-2014")]
//[assembly: AssemblyCompany("Steamware")]
diff --git a/VersGen/GMW.tt b/VersGen/GMW.tt
index b47f79c6..7576fcee 100644
--- a/VersGen/GMW.tt
+++ b/VersGen/GMW.tt
@@ -6,8 +6,8 @@
using System.Reflection;
-[assembly: AssemblyVersion("2.5.613.<#= this.RevisionNumber #>")]
-[assembly: AssemblyFileVersion("2.5.613.<#= this.RevisionNumber #>")]
+[assembly: AssemblyVersion("2.5.614.<#= this.RevisionNumber #>")]
+[assembly: AssemblyFileVersion("2.5.614.<#= this.RevisionNumber #>")]
//[assembly: AssemblyCopyright("© Steamware 2007-<#= DateTime.Now.Year #>")]
//[assembly: AssemblyCompany("Steamware")]
<#+