private void FillDetails() { if (HttpContext.Current.Session["chartId"] != null) { HomeManager homeManager = new HomeManager(); string fileName = Path.Combine(Request.PhysicalApplicationPath, "Fileadmin", "Home", Global.Core.ClientName + "HomePage.xml");//Path.Combine(Request.PhysicalApplicationPath, "App_Data", "HomePage.xml"); homeManager.FileName = fileName; XmlNode xmlNewsList = homeManager.ChartDetails(HttpContext.Current.Session["chartId"].ToString()); if (xmlNewsList != null) { if (xmlNewsList.Attributes["heading"] != null) { txtMCHeading.Text = xmlNewsList.Attributes["heading"].Value; } if (xmlNewsList.Attributes["url"] != null) { txtMChartURL.Text = xmlNewsList.Attributes["url"].Value; } } } }