/// <summary> /// Builds a list of all tabs /// </summary> private void BuildTabs() { var tabs = CaisisConfiguration.GetModuleConfigList().Where(m => m.IsTab); //XmlDocument xmlDoc = XmlUtil.GetModulesConfigXml(); //XmlNodeList listOfTabs = xmlDoc.SelectNodes("modules/module[@isTab='true']"); TabsRptr.DataSource = tabs; TabsRptr.DataBind(); }
/// <summary> /// Builds a list of all tabs /// </summary> private void BuildTabs() { var tabs = from tab in CaisisConfiguration.GetModuleConfigList() where tab.IsTab select tab.Name.ToUpper(); //XmlDocument xmlDoc = XmlUtil.GetModulesConfigXml(); //XmlNodeList listOfTabs = xmlDoc.SelectNodes("modules/module[@isTab='true']"); TabsRptr.DataSource = tabs; TabsRptr.DataBind(); }