Ejemplo n.º 1
0
 public static MvcForm BeginRouteForm(this AjaxHelper ajaxHelper, string routeName, Task <ActionResult> taskResult, AjaxOptions ajaxOptions, IDictionary <string, object> htmlAttributes)
 {
     return(ajaxHelper.BeginRouteForm(routeName, taskResult.Result, ajaxOptions, htmlAttributes));
 }
Ejemplo n.º 2
0
 public static MvcForm BeginRouteForm(this AjaxHelper ajaxHelper, string routeName, Task <ActionResult> taskResult, AjaxOptions ajaxOptions)
 {
     return(ajaxHelper.BeginRouteForm(routeName, taskResult.Result, ajaxOptions, null));
 }
Ejemplo n.º 3
0
 public static MvcForm BeginRouteForm(this AjaxHelper ajaxHelper, string routeName, Task <ActionResult> taskResult, AjaxOptions ajaxOptions, object htmlAttributes)
 {
     return(ajaxHelper.BeginRouteForm(routeName, taskResult.Result, ajaxOptions, HtmlHelper.AnonymousObjectToHtmlAttributes(htmlAttributes)));
 }
Ejemplo n.º 4
0
 public static MvcForm BeginRouteForm(this AjaxHelper ajaxHelper, string routeName, ActionResult result, AjaxOptions ajaxOptions, IDictionary <string, object> htmlAttributes)
 {
     return(ajaxHelper.BeginRouteForm(routeName, result.GetRouteValueDictionary(), ajaxOptions, htmlAttributes));
 }