public static AjaxCheckboxList <T> Multiselect <T>(this AjaxCheckboxList <T> arl, Action <OdropdownCfg> setCfg = null)
        {
            arl.Mod("awem.multiselect");
            var odcfg = new OdropdownCfg();

            if (setCfg != null)
            {
                setCfg(odcfg);
                arl.Tag(odcfg.ToTag());
            }

            return(arl);
        }
Beispiel #2
0
        /// <summary>
        /// buttongroup extension
        /// </summary>
        /// <typeparam name="T"></typeparam>
        /// <param name="arl"></param>
        /// <param name="setCfg"></param>
        /// <returns></returns>
        public static AjaxCheckboxList <T> ButtonGroup <T>(this AjaxCheckboxList <T> arl, Action <OdropdownCfg> setCfg = null)
        {
            arl.Mod("awem.btnGroupChk");
            var odcfg = new OdropdownCfg();

            if (setCfg != null)
            {
                setCfg(odcfg);
                arl.Tag(odcfg.ToTag());
            }

            return(arl);
        }