47 lines
No EOL
1.9 KiB
C#
47 lines
No EOL
1.9 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Web;
|
|
using System.Web.UI;
|
|
using System.Web.UI.WebControls;
|
|
using Telerik.Web.UI;
|
|
|
|
namespace safety
|
|
{
|
|
public partial class HPHOrphans : System.Web.UI.Page
|
|
{
|
|
int currentDocAID = 0;
|
|
int? AanvragerID, mentorID, unit; bool? isIV, isNV, isIDPBW; string lang = "nl", aanvragerFullname = "?", mentorFullname = "?", building = "", soort = "", ifa = "", prefLang = ""; bool? isMedic = null;
|
|
|
|
protected void Page_PreInit(object sender, EventArgs e)
|
|
{
|
|
|
|
if (!IsPostBack) { };
|
|
|
|
General.PageBasicSettings3(Page, ref AanvragerID, ref isIV, ref isNV, ref isIDPBW, ref lang, ref aanvragerFullname, ref mentorID, ref mentorFullname, ref unit, ref building, ref isMedic, ref ifa, ref soort, ref prefLang);
|
|
}
|
|
|
|
protected void Page_Load(object sender, EventArgs e)
|
|
{
|
|
General.setTitle(Master,"Uitzonderingen : mogelijke anomalien");
|
|
}
|
|
|
|
protected void RadGrid1_ItemDataBound(object sender, Telerik.Web.UI.GridItemEventArgs e)
|
|
{
|
|
if (e.Item is GridDataItem)
|
|
{
|
|
GridDataItem item = (GridDataItem)e.Item;
|
|
int id = (int)item.GetDataKeyValue("id");
|
|
int persid = (int)item.GetDataKeyValue("persid");
|
|
//string plang = string.Empty; if (!string.IsNullOrEmpty(lang)) plang = "?lang=" + Session["lang"].ToString();
|
|
HyperLink link = (HyperLink)item["id"].Controls[0];
|
|
link.NavigateUrl = string.Format("http://toegang/HPH/RF/{0}", id);
|
|
link = (HyperLink)item["id2"].Controls[0];
|
|
link.NavigateUrl = string.Format("http://localhost:47213/HPHApprove.aspx?docaID={0}&persid={1}", id, persid);
|
|
|
|
//http://localhost:47213/HPHApprove.aspx?docaID=4229&persid=12006
|
|
|
|
}
|
|
}
|
|
}
|
|
} |