This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.
Returns true if the given value exists in the data passed to the request.
In a Web environment, this will be the posted form data.

Namespace: Smartsite.Runtime.Modules
Assembly:  Smartsite.Runtime.Modules (in Smartsite.Runtime.Modules.dll)

Syntax

C#Copy imageCopy Code
[(Name = "{0}.Form.Exists")]
public static <bool> DataExists(
	 context,
	string name
)
Visual Basic (Declaration)Copy imageCopy Code
<(Name := "{0}.Form.Exists")> _
Public Shared Function DataExists ( _
	context As , _
	name As  _
) As (Of )

Parameters

context
IRenderContext
Context object.
name
String
The name of the element.

Return Value

Boolean indicating if the specified element exists.

See Also

Advanced