AjaxRequest Method

HttpServer.dll

Creates a link that invokes through ajax.

Namespace:  HttpServer.Helpers
Assembly:  HttpServer (in HttpServer.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public static string AjaxRequest(
	string url,
	string title,
	params string[] options
)
Visual Basic (Declaration)
Public Shared Function AjaxRequest ( _
	url As String, _
	title As String, _
	ParamArray options As String() _
) As String
Visual C++
public:
static String^ AjaxRequest(
	String^ url, 
	String^ title, 
	... array<String^>^ options
)

Parameters

url
Type: System..::.String
url to fetch
title
Type: System..::.String
link title
options
Type: array< System..::.String >[]()[]
optional options in format "key, value, key, value". Javascript options starts with ':'.

Return Value

a link tag

Examples

WebHelper.AjaxRequest("/users/add/", "Add user", ":method", "post", "onclick", "validate('this');");

See Also