November Happy Hour will be moved to Thursday December 5th.
November Happy Hour will be moved to Thursday December 5th.
Atm i got like this (which works but is far from perfect):
XDocument document = XDocument.Load(Server.MapPath(root.CustomFileSummaryVirtualPath));
var languages = from d in document.Descendants()
where d.Parent != null && d.Parent.Attribute("ref") != null && d.Parent.Attribute("ref").Value == "Language"
select new { Text = Toolbox.Translate("/pagespecific/t8/filters/languages/" + ((XElement)d.FirstNode).Value.ToLower()),
Value = ((XElement)d.LastNode).Value };
LanguageDropDownList.DataSource = languages;
LanguageDropDownList.DataTextField = "Text";
LanguageDropDownList.DataValueField = "Value";
LanguageDropDownList.DataBind();