Suoranta.WebApp.Types Namespace
Suoranta.WebApp - Developer API

FormBuilderBase<(Of <(<'TFormModel, TBuilder>)>)>..::..WriteEndTag Method

Writes the end tag and script statements.

Namespace:  Suoranta.WebApp.Html
Assembly:  Suoranta.WebApp (in Suoranta.WebApp.dll)

Syntax


public void WriteEndTag(
	AjaxHelper ajaxHelper
)

Parameters

ajaxHelper
Type: AjaxHelper
The ajax helper.

Remarks


If the form is on partial, module w.asyncform.js needs to loaded on main document.

Loading of JavaScript modules is automatically deferred and classes in w.asyncform.js are not available on time even if the script block containing the initializer is also deferred. Hence the initializer is run by JQuery ready() on full pages.