Beispiel #1
0
 public static MvcHtmlString JQueryRouteLink(this AjaxHelper ajaxHelper, string linkText, string routeName, object routeValues, JQueryOptions jQueryOptions, object htmlAttributes)
 {
     return(ajaxHelper.JQueryRouteLink(linkText, routeName, new System.Web.Routing.RouteValueDictionary(routeValues), jQueryOptions, JQueryExtension.ObjectToCaseSensitiveDictionary(htmlAttributes)));
 }
Beispiel #2
0
 public static MvcHtmlString JQueryActionLink(this AjaxHelper ajaxHelper, string linkText, string actionName, string controllerName, string protocol, string hostName, string fragment, object routeValues, JQueryOptions jQueryOptions, object htmlAttributes)
 {
     System.Web.Routing.RouteValueDictionary dictionary = new System.Web.Routing.RouteValueDictionary(routeValues);
     System.Collections.Generic.Dictionary <string, object> dictionary2 = JQueryExtension.ObjectToCaseSensitiveDictionary(htmlAttributes);
     return(ajaxHelper.JQueryActionLink(linkText, actionName, controllerName, protocol, hostName, fragment, dictionary, jQueryOptions, dictionary2));
 }
Beispiel #3
0
 public static JQueryForm JQueryBeginRouteForm(this AjaxHelper ajaxHelper, string routeName, object routeValues, JQueryOptions jQueryOptions, object htmlAttributes)
 {
     System.Collections.Generic.Dictionary <string, object> dictionary = JQueryExtension.ObjectToCaseSensitiveDictionary(htmlAttributes);
     return(ajaxHelper.JQueryBeginRouteForm(routeName, new System.Web.Routing.RouteValueDictionary(routeValues), jQueryOptions, dictionary));
 }