SearchFormInvoke Method (Stream, String, Int32, Int32, String, String, String, String, String, Boolean) Content Studio 5.7 SDK
Content Studio Web Content Management System

[This is preliminary documentation and is subject to change.]

Invokes the component and writes its content into the specified stream.

Namespace: ContentStudio.Site.ActiveScripting.Search
Assembly: CS_SiteLib (in CS_SiteLib.dll) Version: 5.7.5016.0 (5.7.5016.0)
Syntax

public static void Invoke(
	Stream output,
	string componentNamePrefix,
	int targetDocumentId,
	int presentationTemplateId,
	string searchFieldName,
	string buttonText,
	string target,
	string buttonClassName,
	string textFieldClassName,
	bool notEpt
)

Parameters

output
Type: System.IOStream
A stream object to write to. This parameter can be null to use the default response stream
componentNamePrefix
Type: SystemString
A unique identity prefix to provide for the component. Pass an empty string or "CS_" unless there are multiple instances of the component on single document.
targetDocumentId
Type: SystemInt32
The ID of the document that should receive the search data. This document must contain a component that can perform the search and display the result.
presentationTemplateId
Type: SystemInt32
A presentation template id used by the target document. Pass zero if no presentation template should be used.
searchFieldName
Type: SystemString
The name of the search field
buttonText
Type: SystemString
The text of the displayed search button
target
Type: SystemString
Target of destination frame. This parameter must be empty or null when using XHTML 1.0 strict, XHTML 1.1 or later.
buttonClassName
Type: SystemString
The name of a CSS class to be applied on the submit button
textFieldClassName
Type: SystemString
The name of a CSS class to be applied on the search argument input field
notEpt
Type: SystemBoolean
Indicates that this is not an EPT field. Set to true to generate validating HTML/XHTML code
See Also

Reference