Content Studio Web Content Management System
SystemObject
ContentStudio.SiteCodeBase
ContentStudio.Site.ActiveScriptingActiveScriptingBase
ContentStudio.Site.ActiveScriptingPageableComponent
ContentStudio.Site.ActiveScriptingSearchBase
ContentStudio.Site.ActiveScripting.SearchSearchResultForCategories
Assembly: CS_SiteLib (in CS_SiteLib.dll) Version: 5.7.5016.0 (5.7.5016.0)
Top
Top
Top
To use this class, create an instance of this object, set up the
properties and call the Invoke method with an appropriate set of
parameters.
This class can throw exceptions, thus your code should be wrapped
within try/catch statements in order to avoid the entire page to crash.
This class generates inline code, thus you must wrap it into a block
element to make the page validate according to the HTML/XHTML
regulations.
The generated code can be made fully HTML/XHTML strict compatible.
This class is sealed and cannot be inherited from.
[This is preliminary documentation and is subject to change.]
Performs a full text index search on a Content Studio site, and writes
it to the supplied stream or the default response stream.
The SearchResultForCategories is the engine of the Search
result for categories AS component.
Inheritance Hierarchy
ContentStudio.SiteCodeBase
ContentStudio.Site.ActiveScriptingActiveScriptingBase
ContentStudio.Site.ActiveScriptingPageableComponent
ContentStudio.Site.ActiveScriptingSearchBase
ContentStudio.Site.ActiveScripting.SearchSearchResultForCategories
Namespace: ContentStudio.Site.ActiveScripting.Search
Assembly: CS_SiteLib (in CS_SiteLib.dll) Version: 5.7.5016.0 (5.7.5016.0)
Syntax
The SearchResultForCategories type exposes the following members.
Constructors
Name | Description | |
---|---|---|
SearchResultForCategories(String, Int32, FulltextSearchContainerListTypes) |
Creates a new instance of the SearchResultForCategories class
that writes to the default response stream.
| |
SearchResultForCategories(String, String, String) |
Creates a new instance of the SearchResultForCategories class
that writes to the default response stream
If neither Categories nor Units contain anything to
search, the entire site is searched.
| |
SearchResultForCategories(Stream, String, Int32, FulltextSearchContainerListTypes) |
Creates a new instance of the SearchResultForCategories class
that writes to the specified stream.
| |
SearchResultForCategories(Stream, String, String, String) |
Creates a new instance of the SearchResultForCategories class
that writes to the specified stream.
If neither Categories nor Units contain anything to
search, the entire site is searched.
|
Properties
Name | Description | |||
---|---|---|---|---|
BackwardsComponentCompatibilityMode |
Sets or gets a value that indicates whether the code runs in backwards
compatibility component mode. The default value is false.
(Inherited from ActiveScriptingBase.) | |||
ColProperties |
Sets or gets the collection of COL elements for the generated
table. The default value is an empty string.
| |||
ComponentName | Gets the name of the component. (Overrides ActiveScriptingBaseComponentName.) | |||
Conformance |
Gets a value which specifies which type of code a component can generate.
(Overrides ActiveScriptingBaseConformance.) | |||
ContainerListType |
Gets a value that indicates the type of container to search in. The
default value is FulltextSearch.ContainerListTypes.Unit.
| |||
Criteria |
Gets the search criteria that is used.
| |||
DateFormattingString |
Sets or gets a value that indicates how DateTime values should
be formatted. The default value is an empty string (using the default
format of the system).
For a more information on the different date format strings see the DateTimeFormatInfo
class documentation.
| |||
DisplayCreatedDate |
Sets or gets a value that indicates if the Created Date column
should be displayed. The default is false.
| |||
DisplayLogicalPath |
Sets or gets a value that indicates if the Logical path column
should be displayed. The default is false.
| |||
DisplayRelevance |
Sets or gets a value that indicates if the column with relevance
information should be displayed. The default is true.
| |||
ElementType |
Gets a value which specifies the type of outer element the component generates.
(Overrides ActiveScriptingBaseElementType.) | |||
Encoding |
Sets or gets the encoding the component uses. The default encoding is
the UTF8 encoding without byte order mark.
(Inherited from ActiveScriptingBase.) | |||
ExtendedSearchResultClassName |
Sets or gets a value that contains the CSS class name of the extended
search result formatting. The default is an empty string.
| |||
HideIntroduction |
Sets or gets a value that indicates if the Introduction columns
should be hidden. The default is false.
| |||
LanguageID |
Gets or sets the language to use while fulltext searching.
| |||
LBLLeadingPageRangeText |
Sets or gets the leading text to display in the paging information. The
default value is an empty string.
| |||
LBLLinkPrefix |
Sets or gets link prefix text of the paging information. The default
value is an empty string, which will render page numbers only.
| |||
LBLNextPage |
Sets or gets the text for next page in the paging information. The
default value is a "greater than" sign (">").
| |||
LBLNextRange |
Sets or gets the text for next range in the paging information. The
default value is two "greater than" signs (">>").
| |||
LBLPrevPage |
Sets or gets the text for previous page in the paging information. The
default value is a "less than" sign ("<").
| |||
LBLPrevRange |
Sets or gets the text for the previous range in the paging information.
The default value is two "less than" signs ("<<").
| |||
LinkAttributes |
Sets or gets the link attributes.
| |||
LinkSep |
Sets or gets a value used as link separator text. The default value is
a non-breaking space (" ").
| |||
MaxReturnSize |
Sets or gets the maximum number of rows to be returned. The default
value is 200.
| |||
PageSize |
Sets or gets the number of rows on each page. Setting this property to
zero will list all documents on the same page. The default value is 4.
| |||
PostMode |
Sets or gets a value that indicates how posted pages should be handled.
The default value is PostMode.No.
| |||
PresentationTemplateId |
Sets or gets the presentation template ID to use. The default value is
zero (no presentation template is used).
| |||
RangePosition |
Sets or gets a value that indicates where the page range should be
placed in relation to the generated table. The default value is RangePositions.Bottom.
| |||
RangeSize |
Sets or gets the number if page references to display in the paging
information. The default value is 10
| |||
RankAltText |
Sets or gets the ALT text for ranking images. The default value
is "Rank".
| |||
ResultStr0 |
Sets or gets the message to show if the search condition could not be
evaluated. The default value is "<b>Your search criteria was
too general</b>".
| |||
ResultStr1 |
Sets or gets the first portion of the summary text displayed if no data
could be found. This value will be followed by the entered criteria.
The default value is "<b>Your search for </b>".
| |||
ResultStr2 |
Sets or gets the end portion of the summary text if no data could be
found. The default value is "<b> did not match any
documents.</b>".
| |||
ResultStr3 |
Sets or gets the first portion of the summary text when data has been
found. The default value is "<b>Search result for:</b>".
| |||
ResultStr4 |
Sets or gets the title of the Document column. The default value is
"<b>Document</b>".
| |||
ResultStr5 |
Sets or gets the name of the Relevance column. The default value is
"<b>Relevance</b>".
| |||
ResultStr6 |
Sets or gets the name of the Logical path column. The default value is
"<b>Path</b>".
| |||
ResultStr7 |
Sets or gets the name of the date column. The default value is
"<b>Date</b>".
| |||
ReturnFieldsInExtendedSearchResult |
Sets or gets the names of the EPT fields to be returned in the extended
search result. Use "," (comma) as a separator. The default is
an empty string.
| |||
RowColor1 |
Sets or gets the background color of odd numbered rows (1, 3 etc.). The
default value is "#FFFFFF" (white).
| |||
RowColor2 |
Sets or gets the background color of even numbered rows (2,4 etc.). The
default value is "#F5F5F5" (light grey).
| |||
SearchContainers |
Gets the containers that are used. This value is calculated in the
object constructor.
| |||
SearchMethod |
Sets or gets a value that specifies the search method to use.
| |||
SearchOptions |
Sets or gets a value that specifies special options to use during search.
| |||
SortableColumns |
Sets or gets a value that indicates if the user should be able to sort
the data. The default is false.
| |||
SortOrder |
Sets or gets a value that indicates how the search result should be
sorted. The default value is FulltextSearch.SortOrder.Rank.
This is a dynamic property that will be maintained by the component
depending on the behavior of the user.
| |||
TableAttributes |
Sets or gets table attributes. The default value is an empty string.
| |||
TableBorder |
Sets or gets the table border width. The default value is zero (no
border).
| |||
TableCellPadding |
Sets or gets the table cell padding. The default value is 3.
| |||
TableCellSpacing |
Sets or gets the table cell spacing. The default value is zero.
| |||
TableClassName |
Sets or gets the CLASS attribute of the generated table. The
default value is an empty string, which omits the attribute.
| |||
TableSummary |
Sets or gets the SUMMARY attribute of the generated table. The
default value is an empty string, which omits the attribute.
Omitting this attribute causes validation warnings for XHTML 1.0 strict
or higher.
| |||
TableWidth |
Sets or gets the WIDTH attribute of the generated table. The
default value is "100%".
| |||
Target |
Sets or gets the TARGET attribute for each generated link in the
result set. The default is an empty string.
| |||
UseExtendedSearchResult |
Sets or gets a value that indicates if the extended search result
should be used. This functionality, if available, displays a short
summary of found data. The default is false.
|
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
Invoke |
Invokes the component and writes its content into the default response
stream.
| |
ToString | (Inherited from Object.) |
Remarks
See Also