private void loadMenu() { List <CATEGORY> categories = ApplicationContext.Current.Categories.GetCategoryListByCampaign(CampaignID); string path = Context.Server.MapPath(Configuration.XmlPath); string culture = String.Empty; if (Session["Culture"] != null) { culture = Session["Culture"].ToString(); } String filename = XmlUtil.CreateCategoriesXml(categories, CampaignID, path, culture); if (!String.IsNullOrEmpty(filename)) { XmlDataSource menuDataSource = new XmlDataSource(); menuDataSource.XPath = "Node/Menu"; menuDataSource.DataFile = filename; menuCat.DataSource = menuDataSource; menuCat.DataBind(); } }