The MonoXSearchBox type exposes the following members.

Constructors

  Name Description
Public method MonoXSearchBox
Constructor.

Methods

  Name Description
Protected method btnSearch_Click
Public method DoSearch
Performs tha eactual search, override to change the default behavior.
Protected method GetParams
Appends the search parameters to the URL.
Protected method GetProviders
Retrieves the names and templates of search providers and appends them to the search URL for search results part to use.
Protected method GetResultsPage
Retrieves the URL of the search results page, depending on the configuration for the particular part.
Protected method OnInit (Overrides BasePart..::..OnInit(EventArgs).)
Protected method OnPreRender (Overrides BasePart..::..OnPreRender(EventArgs).)
Protected method OnSearching
Raised before search is performed.
Protected method OnSearchValidate
Raised when search input is validated.

Extension Methods

  Name Description
Public Extension Method ConvertTo(Type) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo(Type, TypeConverter) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo(Type, Boolean) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo(Type, TypeConverter, Boolean) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo<(Of <<'(T>)>>)()()()() Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo<(Of <<'(T>)>>)(TypeConverter) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method GetCurrentStackTrace
Gets current stack trace information.
(Defined by ObjectExtension.)
Public Extension Method GetDebugInformation
Gets the debug information for currently executing code.
(Defined by ObjectExtension.)
Public Extension Method GetExecutingMethodName
Gets the executing method name.
(Defined by ObjectExtension.)
Public Extension Method GetPagerTemplate
Gets pager template.
(Defined by ControlExtension.)
Public Extension Method GetPropertyType
Gets a property type.
(Defined by ObjectExtension.)
Public Extension Method GetPropertyValue
Gets a property or field value from the object (Dot notation enabled).
(Defined by ObjectExtension.)
Public Extension Method PropertyExists
Check if property exists.
(Defined by ObjectExtension.)
Public Extension Method SetPropertyValue
Sets a property or field value to the object (Dot notation enabled).
(Defined by ObjectExtension.)

Fields

  Name Description
Protected field btnSearch
btnSearch control.
Protected field lnkSearch
lnkSearch control.
Protected field pnlContainer
pnlContainer control.
Protected field scriptManagerProxy
scriptManagerProxy control.
Protected field txtSearch
txtSearch control.

Properties

  Name Description
Public property ButtonCssClass
Button CSS class.
Public property ButtonText
Search button text.
Public property DefaultSearchText
Default search text.
Public property MaxSearchTextLength
Maximum search text length.
Public property ResultsPageId
Gets or sets results page for MonoX search.
Public property SearchButtonType
Default search text.
Public property SearchParams
Gets or sets search parameters.

Note: Search parameter in this module needs to be of type Dictionary<(Of <(<'TKey, TValue>)>)> because these parameters are transfered to search preview module with query parameters.

Public property SearchProviders
Collection of provider items by which search engine will perform search. If not empty, it will be based to the search results page via the Request query string, and will be used instead of default search provider collection as configured on that page.
Public property SearchResultsUrl
URL of the search results page. By default the value of RewrittenPaths.SiteSearch.UrlPattern is used which can be set in the web.config.
Public property TextBoxCssClass
Textbox CSS class.

See Also