Esempio n. 1
0
        public static Section JQM_Popup(this HtmlHelper htmlHelper, PopupConfig config)
        {
            TagBuilder fieldsetTag = new TagBuilder("div");

            config.SetAttributes(fieldsetTag);
            return(new Section(htmlHelper.ViewContext, fieldsetTag));
        }
Esempio n. 2
0
        public static MvcHtmlString JQM_LinkPopup(this HtmlHelper htmlHelper, string name, string text, string href = null, Enums.IconType?icon = null, Enums.PositionType?iconPosition = null, PopupConfig popupConfig = null)
        {
            LinkConfig config = new LinkConfig(name, text)
            {
                Rel          = Enums.RelType.Popup,
                Href         = href,
                Icon         = icon,
                IconPosition = iconPosition,
                PopupConfig  = popupConfig
            };

            return(JQM_Button(htmlHelper, config));
        }