Files
MoonPro.net/MP-ADM/WebUserControls/mod_pageTitleAndSearch.ascx.cs
T
2018-10-27 11:58:26 +02: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
}