AjaxHelper Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents support for rendering HTML in AJAX scenarios within a view.
public class AjaxHelper
type AjaxHelper = class
Public Class AjaxHelper
- Inheritance
-
AjaxHelper
- Derived
Constructors
AjaxHelper(ViewContext, IViewDataContainer, RouteCollection) |
Initializes a new instance of the AjaxHelper class by using the specified view context, view data container, and route collection. |
AjaxHelper(ViewContext, IViewDataContainer) |
Initializes a new instance of the AjaxHelper class using the specified view context and view data container. |
Properties
GlobalizationScriptPath |
Gets or sets the root path for the location to use for globalization script files. |
RouteCollection |
Gets the collection of URL routes for the application. |
ViewBag |
Gets the ViewBag. |
ViewContext |
Gets the context information about the view. |
ViewData |
Gets the current view data dictionary. |
ViewDataContainer |
Gets the view data container. |
Methods
JavaScriptStringEncode(String) |
Serializes the specified message and returns the resulting JSON-formatted string. |
Extension Methods
ActionLink(AjaxHelper, String, String, Object, AjaxOptions, Object) |
Returns an anchor element that contains the URL to the specified action method; when the action link is clicked, the action method is invoked asynchronously by using JavaScript. |
ActionLink(AjaxHelper, String, String, Object, AjaxOptions) |
Returns an anchor element that contains the URL to the specified action method; when the action link is clicked, the action method is invoked asynchronously by using JavaScript. |
ActionLink(AjaxHelper, String, String, String, Object, AjaxOptions, Object) |
Returns an anchor element that contains the URL to the specified action method; when the action link is clicked, the action method is invoked asynchronously by using JavaScript. |
ActionLink(AjaxHelper, String, String, String, Object, AjaxOptions) |
Returns an anchor element that contains the URL to the specified action method; when the action link is clicked, the action method is invoked asynchronously by using JavaScript. |
ActionLink(AjaxHelper, String, String, String, String, String, String, Object, AjaxOptions, Object) |
Returns an anchor element that contains the URL to the specified action method; when the action link is clicked, the action method is invoked asynchronously by using JavaScript. |
ActionLink(AjaxHelper, String, String, String, String, String, String, RouteValueDictionary, AjaxOptions, IDictionary<String,Object>) |
Returns an anchor element that contains the URL to the specified action method; when the action link is clicked, the action method is invoked asynchronously by using JavaScript. |
ActionLink(AjaxHelper, String, String, String, AjaxOptions) |
Returns an anchor element that contains the URL to the specified action method; when the action link is clicked, the action method is invoked asynchronously by using JavaScript. |
ActionLink(AjaxHelper, String, String, String, RouteValueDictionary, AjaxOptions, IDictionary<String,Object>) |
Returns an anchor element that contains the URL to the specified action method; when the action link is clicked, the action method is invoked asynchronously by using JavaScript. |
ActionLink(AjaxHelper, String, String, String, RouteValueDictionary, AjaxOptions) |
Returns an anchor element that contains the URL to the specified action method; when the action link is clicked, the action method is invoked asynchronously by using JavaScript. |
ActionLink(AjaxHelper, String, String, AjaxOptions) |
Returns an anchor element that contains the URL to the specified action method; when the action link is clicked, the action method is invoked asynchronously by using JavaScript. |
ActionLink(AjaxHelper, String, String, RouteValueDictionary, AjaxOptions, IDictionary<String,Object>) |
Returns an anchor element that contains the URL to the specified action method; when the action link is clicked, the action method is invoked asynchronously by using JavaScript. |
ActionLink(AjaxHelper, String, String, RouteValueDictionary, AjaxOptions) |
Returns an anchor element that contains the URL to the specified action method; when the action link is clicked, the action method is invoked asynchronously by using JavaScript. |
BeginForm(AjaxHelper, String, Object, AjaxOptions, Object) |
Writes an opening <form> tag to the response. |
BeginForm(AjaxHelper, String, Object, AjaxOptions) |
Writes an opening <form> tag to the response. |
BeginForm(AjaxHelper, String, String, Object, AjaxOptions, Object) |
Writes an opening <form> tag to the response. |
BeginForm(AjaxHelper, String, String, Object, AjaxOptions) |
Writes an opening <form> tag to the response. |
BeginForm(AjaxHelper, String, String, AjaxOptions) |
Writes an opening <form> tag to the response. |
BeginForm(AjaxHelper, String, String, RouteValueDictionary, AjaxOptions, IDictionary<String,Object>) |
Writes an opening <form> tag to the response. |
BeginForm(AjaxHelper, String, String, RouteValueDictionary, AjaxOptions) |
Writes an opening <form> tag to the response. |
BeginForm(AjaxHelper, String, AjaxOptions) |
Writes an opening <form> tag to the response. |
BeginForm(AjaxHelper, String, RouteValueDictionary, AjaxOptions, IDictionary<String,Object>) |
Writes an opening <form> tag to the response. |
BeginForm(AjaxHelper, String, RouteValueDictionary, AjaxOptions) |
Writes an opening <form> tag to the response. |
BeginForm(AjaxHelper, AjaxOptions) |
Writes an opening <form> tag to the response. |
BeginRouteForm(AjaxHelper, String, Object, AjaxOptions, Object) |
Writes an opening <form> tag to the response using the specified routing information. |
BeginRouteForm(AjaxHelper, String, Object, AjaxOptions) |
Writes an opening <form> tag to the response using the specified routing information. |
BeginRouteForm(AjaxHelper, String, AjaxOptions) |
Writes an opening <form> tag to the response using the specified routing information. |
BeginRouteForm(AjaxHelper, String, RouteValueDictionary, AjaxOptions, IDictionary<String,Object>) |
Writes an opening <form> tag to the response using the specified routing information. |
BeginRouteForm(AjaxHelper, String, RouteValueDictionary, AjaxOptions) |
Writes an opening <form> tag to the response using the specified routing information. |
GlobalizationScript(AjaxHelper, CultureInfo) |
Returns an HTML script element that contains a reference to a globalization script that defines the specified culture information. |
GlobalizationScript(AjaxHelper) |
Returns an HTML script element that contains a reference to a globalization script that defines the culture information. |
RouteLink(AjaxHelper, String, Object, AjaxOptions, Object) |
Returns an anchor element that contains the virtual path for the specified route values; when the link is clicked, a request is made to the virtual path asynchronously by using JavaScript. |
RouteLink(AjaxHelper, String, Object, AjaxOptions) |
Returns an anchor element that contains the virtual path for the specified route values; when the link is clicked, a request is made to the virtual path asynchronously by using JavaScript. |
RouteLink(AjaxHelper, String, String, Object, AjaxOptions, Object) |
Returns an anchor element that contains the virtual path for the specified route values; when the link is clicked, a request is made to the virtual path asynchronously by using JavaScript. |
RouteLink(AjaxHelper, String, String, Object, AjaxOptions) |
Returns an anchor element that contains the virtual path for the specified route values; when the link is clicked, a request is made to the virtual path asynchronously by using JavaScript. |
RouteLink(AjaxHelper, String, String, String, String, String, RouteValueDictionary, AjaxOptions, IDictionary<String,Object>) |
Returns an anchor element that contains the virtual path for the specified route values; when the link is clicked, a request is made to the virtual path asynchronously by using JavaScript. |
RouteLink(AjaxHelper, String, String, AjaxOptions, IDictionary<String,Object>) |
Returns an anchor element that contains the virtual path for the specified route values; when the link is clicked, a request is made to the virtual path asynchronously by using JavaScript. |
RouteLink(AjaxHelper, String, String, AjaxOptions, Object) |
Returns an anchor element that contains the virtual path for the specified route values; when the link is clicked, a request is made to the virtual path asynchronously by using JavaScript. |
RouteLink(AjaxHelper, String, String, AjaxOptions) |
Returns an anchor element that contains the virtual path for the specified route values; when the link is clicked, a request is made to the virtual path asynchronously by using JavaScript. |
RouteLink(AjaxHelper, String, String, RouteValueDictionary, AjaxOptions, IDictionary<String,Object>) |
Returns an anchor element that contains the virtual path for the specified route values; when the link is clicked, a request is made to the virtual path asynchronously by using JavaScript. |
RouteLink(AjaxHelper, String, String, RouteValueDictionary, AjaxOptions) |
Returns an anchor element that contains the virtual path for the specified route values; when the link is clicked, a request is made to the virtual path asynchronously by using JavaScript. |
RouteLink(AjaxHelper, String, RouteValueDictionary, AjaxOptions, IDictionary<String,Object>) |
Returns an anchor element that contains the virtual path for the specified route values; when the link is clicked, a request is made to the virtual path asynchronously by using JavaScript. |
RouteLink(AjaxHelper, String, RouteValueDictionary, AjaxOptions) |
Returns an anchor element that contains the virtual path for the specified route values; when the link is clicked, a request is made to the virtual path asynchronously by using JavaScript. |