Esempio n. 1
0
 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));
 }
Esempio n. 2
0
 public static IMvcFormBuilder BuildRouteForm(this HtmlHelper htmlHelper,
     string routeName,
     RouteValueDictionary routeValues,
     FormMethod method)
 {
     return htmlHelper.BuildRouteForm(routeName, routeValues, method, new RouteValueDictionary());
 }
Esempio n. 3
0
 public static IMvcFormBuilder BuildRouteForm(this HtmlHelper htmlHelper,
     string routeName,
     object routeValues)
 {
     return htmlHelper.BuildRouteForm(routeName, new RouteValueDictionary(routeValues), FormMethod.Post, new RouteValueDictionary());
 }
Esempio n. 4
0
 public static IMvcFormBuilder BuildRouteForm(this HtmlHelper htmlHelper,
     string routeName,
     FormMethod method,
     IDictionary<string, object> htmlAttributes)
 {
     return htmlHelper.BuildRouteForm(routeName, new RouteValueDictionary(), method, htmlAttributes);
 }
Esempio n. 5
0
 public static IMvcFormBuilder BuildRouteForm(this HtmlHelper htmlHelper,
     RouteValueDictionary routeValues)
 {
     return htmlHelper.BuildRouteForm(null, routeValues, FormMethod.Post, new RouteValueDictionary());
 }