コード例 #1
0
 /// <summary>
 /// Generates the Form preamble, defaulting the link for the Retrieve action
 /// </summary>
 /// <param name="ajax"></param>
 /// <param name="controllerName"></param>
 /// <param name="routeValues"></param>
 /// <param name="ajaxOptions"></param>
 /// <returns></returns>
 public static MvcForm BeginResourceForm(
     this AjaxHelper ajax,
     string controllerName,
     object routeValues,
     AjaxOptions ajaxOptions
     )
 {
     return(ajax.BeginResourceForm(
                controllerName,
                routeValues,
                ajaxOptions,
                ActionType.Retrieve
                ));
 }