CMSSearchResults Class |
Namespace: CMS.Controls
public class CMSSearchResults : WebControl
The CMSSearchResults type exposes the following members.
Name | Description | |
---|---|---|
CMSSearchResults |
Constructor.
|
Name | Description | |
---|---|---|
FindSearchDialog(Control, String) |
Finds the search dialog for the given control.
| |
FindSearchDialog(Control, String, Boolean) |
Finds the search dialog within the controls structure.
| |
GetSearchMode |
Returns the search mode based on the given string.
| |
OnInit |
Init event handler.
(Overrides ControlOnInit(EventArgs).) | |
OnLoad |
Init event handler.
(Overrides ControlOnLoad(EventArgs).) | |
ReloadData |
Reload data.
| |
Render |
Renders the results.
(Overrides WebControlRender(HtmlTextWriter).) |
Name | Description | |
---|---|---|
AddCssClass |
Adds CSS class to control. If class is already present, than adding is skipped. Class names are case sensitive.
(Defined by ControlsExtensions.) | |
AsValue |
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.) | |
CallHandled |
Calls the method handled by the exception handler. If the call doesn't succeed, the problem is reported through parent IExceptionHandler control instead of throwing unhandled exception for the entire page.
Returns true, if the call succeeded, otherwise returns false.
(Defined by ControlsExtensions.) | |
GetAPIString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
GetCssClasses |
Returns all CSS classes of control.
(Defined by ControlsExtensions.) | |
GetRenderedHTML |
Returns HTML which would be rendered by control to page.
(Defined by ControlsExtensions.) | |
GetString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
HasCssClass |
Checks whether the control has given CSS class. Class names are case sensitive.
(Defined by ControlsExtensions.) | |
RemoveCssClass |
Removes all occurrences. Class names are case sensitive.
(Defined by ControlsExtensions.) | |
SetCssClasses |
Sets CSS classes to the control. Current classes will be overridden.
(Defined by ControlsExtensions.) | |
ToBoolean |
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDateTime |
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDouble |
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToGuid |
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToInteger |
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToString |
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.) |
Name | Description | |
---|---|---|
mDataPager |
DataPager variable.
| |
mFilterControl |
Filter control.
| |
mFilterName |
Filter name.
| |
mNoResultsLabel |
No result label.
| |
mProperties |
Control properties variable.
| |
mQueryStringKey |
Query string key for setup data pager query string key.
| |
mRepeater |
Basic repeater variable.
| |
mSearchDialog |
Search dialog.
|
Name | Description | |
---|---|---|
CacheDependencies |
Cache dependencies, each cache dependency on a new line.
| |
CacheItemName |
Name of the cache item the control will use.
| |
CacheMinutes |
Number of minutes the retrieved content is cached for. Zero indicates that the content will not be cached.
| |
ClassNames |
Property to set and get the ClassNames list (separated by the semicolon).
| |
CMSSearchDialogID |
Optionally, you can use this property to specify the ID of the source CMSSearchDialog control that provides search parameters.
| |
CombineWithDefaultCulture |
Property to set and get the CombineWithDefaultCulture flag.
| |
CultureCode |
Property to set and get the CultureCode.
| |
DataSource |
Gets or sets a DataSet containing values used to populate the items within the control. This value needn't be set.
| |
EnablePaging |
Enables paging on Data control.
| |
FilterControl |
Filter control.
| |
FilterName |
Gets or Set filter name.
| |
FilterOutDuplicates |
Indicates if the duplicated (linked) items should be filtered out from the data.
| |
FooterTemplate |
Footer template for direct access.
| |
HeaderTemplate |
Header template for direct access.
| |
CheckPermissions |
Allows you to specify whether to check permissions of the current user. If the value is 'false' (default value) no permissions are checked. Otherwise, only nodes for which the user has read permission are displayed.
| |
IgnoreTransformations |
Indicates if transformations should be ignored and templates for direct access should be used.
| |
ItemTemplate |
Item template for direct access.
| |
NoResultsLabel |
Label with 'no results' text.
| |
OrderBy |
Property to set and get the Order by.
| |
PagerControl |
Data pager control.
| |
Path |
Property to set and get the Path.
| |
QueryStringKey |
Query string key used for data pager URL parameter.
| |
SearchExpression |
Word(s) to be searched for.
| |
SearchMode |
Indicates if all content or only the current section should be searched.
| |
SearchScope |
Search mode - any word, all words or exact phrase.
| |
SelectOnlyPublished |
Property to set and get the SelectOnlyPublished flag.
| |
SiteName |
Property to set and get the SiteName.
| |
StopProcessing |
Stop processing
| |
TagKey |
Overrides the generation of the SPAN tag with custom tag.
(Overrides WebControlTagKey.) | |
TransformationName |
Transformation name in format application.class.transformation.
| |
TreeProvider |
Tree provider instance used to access data. If no TreeProvider is assigned, a new TreeProvider instance is created.
| |
WhereCondition |
Property to set and get the Where condition.
|
Name | Description | |
---|---|---|
OnSearchCompleted |
Raises when search is completed.
|