d396be7b1d
Aggiunto comportamento buttons disabilitati se non 'è paziente Update
28 lines
710 B
C#
28 lines
710 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Web;
|
|
using System.Web.UI;
|
|
using System.Web.UI.WebControls;
|
|
|
|
namespace MedPred
|
|
{
|
|
public partial class JQMob : System.Web.UI.MasterPage
|
|
{
|
|
protected void Page_Load(object sender, EventArgs e)
|
|
{
|
|
|
|
}
|
|
/// <summary>
|
|
/// restituisce stato active se pagina corrente...
|
|
/// </summary>
|
|
/// <param name="nomeElem"></param>
|
|
/// <returns></returns>
|
|
public string liClass(object nomeElem)
|
|
{
|
|
string answ="";
|
|
if (Request.Url.ToString().Contains(nomeElem.ToString())) answ = "ui-btn-active";
|
|
return answ;
|
|
}
|
|
}
|
|
} |