Click or drag to resize

AjaxControlGetDataLoadScript Method (String, String)

Returns a script that registers a new sends a "Data load" request to the server.

Namespace:  Dynamicweb.Controls
Assembly:  Dynamicweb.Controls (in Dynamicweb.Controls.dll) Version: 4.2.3
Syntax
protected string GetDataLoadScript(
	string callback,
	string argument
)

Parameters

callback
Type: SystemString
Name of the callback function to be executed upon the completion of the request.
argument
Type: SystemString
Request argument.

Return Value

Type: String
A script that registers a new sends a "Data load" request to the server.
Exceptions
ExceptionCondition
ArgumentNullExceptioncallback is null.
ArgumentExceptioncallback is empty string or represents a function call.
Remarks