Esempio 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));
 }
Esempio 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));
 }
Esempio 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)));
 }
Esempio 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));
 }