Example #1
0
 public static MvcHtmlString ActionLinkRole(this HtmlHelper htmlHelper, string button, string action, string controller, string linkText, string actionName, RouteValueDictionary routeValues, IDictionary <string, object> htmlAttributes)
 {
     return(htmlHelper.ActionLinkRole(button, action, controller, linkText, actionName, null, routeValues, htmlAttributes));
 }
Example #2
0
 public static MvcHtmlString ActionLinkRole(this HtmlHelper htmlHelper, string button, string action, string controller, string linkText, string actionName, string controllerName, object routeValues, object htmlAttributes)
 {
     return(htmlHelper.ActionLinkRole(button, action, controller, linkText, actionName, controllerName, new RouteValueDictionary(routeValues), new RouteValueDictionary(htmlAttributes)));
 }
Example #3
0
        //end button

        //create action link
        public static MvcHtmlString ActionLinkRole(this HtmlHelper htmlHelper, string button, string action, string controller, string linkText, string actionName)
        {
            return(htmlHelper.ActionLinkRole(button, action, controller, linkText, actionName, null, new RouteValueDictionary(), new RouteValueDictionary()));
        }