Spostato in header paziente selezionato
This commit is contained in:
@@ -0,0 +1,46 @@
|
||||
using SteamWare;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace MedPred.WebUserControls
|
||||
{
|
||||
public partial class mod_header : System.Web.UI.UserControl
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
if (!Page.IsPostBack)
|
||||
{
|
||||
Page.Title = Request.Url.ToString();
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// stringa del paziente selezionato
|
||||
/// </summary>
|
||||
public string pazienteSel
|
||||
{
|
||||
get
|
||||
{
|
||||
string answ = "-";
|
||||
if (memLayer.ML.isInSessionObject("Paziente"))
|
||||
{
|
||||
answ = memLayer.ML.StringSessionObj("Paziente");
|
||||
}
|
||||
return answ;
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// stringa del paziente selezionato
|
||||
/// </summary>
|
||||
public string titolo
|
||||
{
|
||||
get
|
||||
{
|
||||
return Request.Url.LocalPath.Split('/').Last();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user