Start Method (String, String, Boolean, String)

HttpServer.dll

Create a <form> tag.

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

Syntax

C#
public static string Start(
	string name,
	string action,
	bool isAjax,
	string onsubmit
)
Visual Basic (Declaration)
Public Shared Function Start ( _
	name As String, _
	action As String, _
	isAjax As Boolean, _
	onsubmit As String _
) As String
Visual C++
public:
static String^ Start(
	String^ name, 
	String^ action, 
	bool isAjax, 
	String^ onsubmit
)

Parameters

name
Type: System..::.String
name of form
action
Type: System..::.String
action to invoke on submit
isAjax
Type: System..::.Boolean
form should be posted as ajax
onsubmit
Type: System..::.String
javascript to perform when form is submitted.

Return Value

html code

Examples

WebHelper.FormStart("frmLogin", "/user/login", Request.IsAjax);

See Also