示例#1
0
        /// <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();
        }
示例#2
0
        /// <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();
        }