Files
GMW/GMW-RT/Bootstrap.Master.cs
T

24 lines
678 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using SteamWare;
namespace GMW_RT
{
public partial class Bootstrap : System.Web.UI.MasterPage
{
protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack)
{
string[] uri = Request.Url.LocalPath.Split('/');
// salvo pagina corrente
user_std.pagCorrente = uri.Last();
lblVers.Text = string.Format("v.{0}", System.Reflection.Assembly.GetExecutingAssembly().GetName().Version);
}
}
}
}