protected override void OnInit(EventArgs e)
{
SessionManagement session = new SessionManagement();
masterpage = (Framework.Template)base.Master;
this.Master = masterpage;
this.LoadAssets();
if (Request.QueryString["subject"] != null)
{
this.RDFTriple = new RDFTriple(Convert.ToInt64(Request.QueryString["subject"]));
this.RDFTriple.Edit = true;
this.RDFTriple.Predicate = 0;
this.RDFTriple.Expand = false;
this.RDFTriple.Object = 0;
this.RDFTriple.ShowDetails = true;
session.RDFTriple = this.RDFTriple;
session.ClearEditSession();
}
else
{
this.RDFTriple = session.RDFTriple;
}
this.LoadPageData();
if (this.PresentationXML.SelectSingleNode("Presentation/PageOptions[@CanEdit='true']") == null)
Response.Redirect(Root.Domain + "/search");
//masterpage.Tab = base.Tab;
masterpage.RDFData = this.RDFData;
masterpage.RDFNamespaces = this.RDFNamespaces;
masterpage.PresentationXML = this.PresentationXML;
}