Files
MoonPro.net/ES3/WebUserControls/mod_pageTitleAndSearch.ascx.cs
T
2019-12-31 10:00:53 +01:00

28 lines
724 B
C#

using SteamWare;
using System;
public partial class mod_pageTitleAndSearch : ApplicationUserControl
{
#region area protected
protected string _titolo;
protected override void traduciObj()
{
try
{
DataLayer_AnagGen.PermessiRow riga = (DataLayer_AnagGen.PermessiRow)user_std.UtSn.permessi.Select(string.Format("URL = '{0}.aspx' OR URL = '{0}'", _paginaCorrente))[0];
_titolo = riga.NOME;
}
catch (Exception exc)
{
logger.lg.scriviLog(string.Format("Errore in decodifica titolo:{0}{1}", Environment.NewLine, exc));
_titolo = _paginaCorrente;
}
lblTitolo.Text = traduci(_titolo);
}
#endregion
}