Example #1
0
 public static DropdownLink <MvcBootstrapHelper <TModel> > DropdownLink <TModel>(this IDropdownLinkCreator <MvcBootstrapHelper <TModel> > creator, string text, string actionName, string controllerName, object routeValues = null)
 {
     return(creator.DropdownLink(text, null).SetAction(actionName, controllerName, routeValues).SetText(text));
 }
Example #2
0
        // Dropdown items

        public static DropdownLink <THelper> DropdownLink <THelper>(this IDropdownLinkCreator <THelper> creator, string text, string href = "#")
            where THelper : BootstrapHelper <THelper>
        {
            return(new DropdownLink <THelper>(creator).SetHref(href).SetText(text));
        }