Page areas may be updated with an ajax operation by adding the attribute
data-operation="ajax-html id" to links
id is the id of the root node that will be cleared and filled with the new ajax returned content.
The same behavior may be added to a pager by filling its
ajax-id attribute with
this is done all pager links will be created with:
In case the
ajax-html operation has a second argument
data-operation="ajax-html id endpointName" the developer
may specify some properties of the ajax update by defining an "html endpoint" with name
mvcct.controls.addHtmlEndpoint (name, OnStart, onCompleted, errorMessageF, onError, onProgress)
nameis endpoint name, and all other parameters are explained here.
In case links are equipped with
data-operation="ajax-json jsonEndpointName", or pagers are equipped with
ajax-endpoint="jsonEndpointName", an ajax json retrieval operation is performed. Operation
features are declared in the "json endpoint" with name
Json endpoints are documented here.