Kentico CMS 6.0 Controls

Configuration

Configuration

Previous topic Next topic Mail us feedback on this topic!  

Configuration

Previous topic Next topic JavaScript is required for the print function Mail us feedback on this topic!  

The following properties of the CMSSearchDialog control can be set or used in the API:

 

Property Name

Description

Sample Value

CustomQueryStringData

Gets or sets a custom query string which is placed after search querystring data, do not use & or ? at the start of the custom query string.

 

SearchExpression

Entered word(s) to be searched for.

 

SearchMode

Search mode - any word, all words or exact phrase.

"AllWords"

"AnyWord"

"ExactPhrase"

SearchScope

Indicates whether all content or only the current section should be searched.

"SearchAllContent"

"SearchCurrentSection"

ShowSearchMode

Indicates whether search mode settings should be displayed.

 

ShowSearchScope

Indicates whether search scope settings should be displayed.

 

StopProcessing

Indicates if processing of the control should be stopped and the control should not retrieve or display any data.

 

 

CMSSearchDialog Events

 

Event Name

Description

DoSearch

Occurs when a user submits the dialog.

 

The CMSSearchDialog contains the following controls. Refer to the Structure topic to see what individual controls represent. They can be accessed in your code behind through the following properties:

 

Property Name

Description

SearchButton

Search submit button.

SearchForLabel

SearchFor label control.

SearchForTextBox

SearchFor textbox.

SearchModeLabel

SearchMode label.

SearchModeList

SearchMode drop‑down list.

SearchScopeLabel

SearchScope label.

SearchScopeList

SearchScope drop‑down list.