public static IMvcFormBuilder BuildRouteForm(this HtmlHelper htmlHelper, string routeName, object routeValues, FormMethod method, object htmlAttributes) { return htmlHelper.BuildRouteForm(routeName, new RouteValueDictionary(routeValues), method, HtmlHelper.AnonymousObjectToHtmlAttributes(htmlAttributes)); }
public static IMvcFormBuilder BuildRouteForm(this HtmlHelper htmlHelper, string routeName, RouteValueDictionary routeValues, FormMethod method) { return htmlHelper.BuildRouteForm(routeName, routeValues, method, new RouteValueDictionary()); }
public static IMvcFormBuilder BuildRouteForm(this HtmlHelper htmlHelper, string routeName, object routeValues) { return htmlHelper.BuildRouteForm(routeName, new RouteValueDictionary(routeValues), FormMethod.Post, new RouteValueDictionary()); }
public static IMvcFormBuilder BuildRouteForm(this HtmlHelper htmlHelper, string routeName, FormMethod method, IDictionary<string, object> htmlAttributes) { return htmlHelper.BuildRouteForm(routeName, new RouteValueDictionary(), method, htmlAttributes); }
public static IMvcFormBuilder BuildRouteForm(this HtmlHelper htmlHelper, RouteValueDictionary routeValues) { return htmlHelper.BuildRouteForm(null, routeValues, FormMethod.Post, new RouteValueDictionary()); }