Click or drag to resize
CMSSearchResultsFindSearchDialog Method (Control, String, Boolean)
Finds the search dialog within the controls structure.

Namespace: CMS.Controls
Assembly: CMS.Controls (in CMS.Controls.dll) Version: 8.2.23
Syntax
C#
public static CMSSearchDialog FindSearchDialog(
	Control sender,
	string dialogId,
	bool searchUp
)

Parameters

sender
Type: System.Web.UIControl
Control that requests to find the search dialog
dialogId
Type: SystemString
Search dialog ID
searchUp
Type: SystemBoolean
If true, parent controls are searched

Return Value

Type: CMSSearchDialog
See Also