Click or drag to resize
CMSSearchDialog Class
CMSSearchDialog class.
Inheritance Hierarchy

Namespace: CMS.DocumentEngine.Web.UI
Assembly: CMS.DocumentEngine.Web.UI (in CMS.DocumentEngine.Web.UI.dll) Version: 12.0.0
Syntax
C#
[SerializableAttribute]
public class CMSSearchDialog : WebControl, 
	INamingContainer

The CMSSearchDialog type exposes the following members.

Constructors
  NameDescription
Public methodCMSSearchDialog
Constructor.
Top
Fields
  NameDescription
Protected fieldmBtnSearch
Search button.
Protected fieldmDrpSearchMode
Search mode dropdown list.
Protected fieldmDrpSearchScope
Search scope dropdown list.
Protected fieldmLblSearchFor
Search for label.
Protected fieldmLblSearchMode
Search mode label.
Protected fieldmLblSearchScope
Search scope label.
Protected fieldmSearchPanel
Outer panel.
Protected fieldmStopProcesing
Stop processing.
Protected fieldmTxtSearchFor
Search for textbox.
Top
Properties
  NameDescription
Public propertyCustomQueryStringData
Gets or sets the custom query string which is placed after search querystring data, do not use & or ? on start of the custom query string.
Public propertySearchButton
Search button.
Public propertySearchExpression
Word(s) to be searched for.
Public propertySearchForLabel
SearchFor label control.
Public propertySearchForTextBox
SearchFor textbox.
Public propertySearchMode
Search mode - any word, all words, exact phrase, etc.
Public propertySearchModeLabel
SearchMode label.
Public propertySearchModeList
SearchMode drop-down list.
Public propertySearchScope
Indicates if all content or only the current section should be searched.
Public propertySearchScopeLabel
SearchScope label.
Public propertySearchScopeList
SearchScope drop-down list.
Public propertyShowSearchMode
Indicates if search mode settings should be displayed.
Public propertyShowSearchScope
Indicates if search scope settings should be displayed.
Public propertyStopProcessing
Stop processing
Protected propertyTagKey
Overrides the generation of the SPAN tag with custom tag.
(Overrides WebControlTagKey.)
Top
Methods
  NameDescription
Protected methodCreateChildControls
Create child controls
(Overrides ControlCreateChildControls.)
Public methodStatic memberGetSearchMode
Returns the search mode based on the given string.
Public methodStatic memberGetSearchScope
Returns the search scope based on the given string.
Protected methodOnInit
Renders the control at run-time.
(Overrides ControlOnInit(EventArgs).)
Protected methodOnLoad
OnLoad override.
(Overrides ControlOnLoad(EventArgs).)
Protected methodRender
Renders the control at design-time.
(Overrides WebControlRender(HtmlTextWriter).)
Protected methodStartSearch
Raises the DoSearch event in case the text is entered.
Top
Extension Methods
  NameDescription
Public Extension MethodAddCssClass
Adds CSS class to control. If class is already present, than adding is skipped. Class names are case sensitive.
(Defined by ControlsExtensions.)
Public Extension MethodCallHandled
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.)
Public Extension MethodGetCssClasses
Returns all CSS classes of control.
(Defined by ControlsExtensions.)
Public Extension MethodGetRenderedHTML
Returns HTML which would be rendered by control to page.
(Defined by ControlsExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by ControlsExtensions.)
Public Extension MethodHasCssClass
Checks whether the control has given CSS class. Class names are case sensitive.
(Defined by ControlsExtensions.)
Public Extension MethodRemoveCssClass
Removes all occurrences. Class names are case sensitive.
(Defined by ControlsExtensions.)
Public Extension MethodSetCssClasses
Sets CSS classes to the control. Current classes will be overridden.
(Defined by ControlsExtensions.)
Top
Events
  NameDescription
Public eventDoSearch
Do search.
Top
See Also