Exemplo n.º 1
0
        /// <summary>
        /// Builds a list of available input control types
        /// </summary>
        /// <param name="controlTypeSelect"></param>
        private void SetInputControlTypeDropDown(CaisisSelect controlTypeSelect)
        {
            var cicTypeList = from cic in ReflectionManager.GetMetaInputControlNames()
                              // temp, centralize
                              where cic.IndexOf("Eform", 0, StringComparison.OrdinalIgnoreCase) < 0
                              orderby cic ascending
                              select cic;

            controlTypeSelect.DataSource = cicTypeList;
            controlTypeSelect.DataBind();
        }