32 lines
883 B
C#
32 lines
883 B
C#
using SteamWare;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Web;
|
|
using System.Web.UI;
|
|
using System.Web.UI.WebControls;
|
|
|
|
namespace MoonProTablet.WebUserControls
|
|
{
|
|
public partial class mod_slideMenu : BaseUserControl
|
|
{
|
|
protected void Page_Load(object sender, EventArgs e)
|
|
{
|
|
|
|
}
|
|
/// <summary>
|
|
/// Verifica se la pagina corrente sia URL indicato --> mostra ACTIVE
|
|
/// </summary>
|
|
/// <param name="navUrl"></param>
|
|
/// <returns></returns>
|
|
public string checkPage(object navUrl)
|
|
{
|
|
string answ = "p-2 list-group-item list-group-item-action";
|
|
if (navUrl.ToString().Replace(".aspx", "").Replace("~/", "") == titolo.Replace(".aspx", ""))
|
|
{
|
|
answ += " active";
|
|
}
|
|
return answ;
|
|
}
|
|
}
|
|
} |