You are here: Ektron Namespace > Server Controls API > Ektron.Cms Namespace > Ektron.Cms.Controls Namespace > Classes > IndexSearch Class
Ektron CMS400.NET API Documentation
ContentsIndexHome
PreviousUpNext
IndexSearch Class

Use the IndexSearch server control to display a Smart Form’s search screen on any Web form. This lets a user search your site based on XML parameters.

C#
[DefaultProperty("XmlConfigId"), ToolboxData("<{0}:IndexSearch runat=server></{0}:IndexSearch>"), PersistChildren(true)]
public class IndexSearch : EkXsltBase, IEnumerator, IEnumerable, IListSource, IDataSource;
Visual Basic
<DefaultProperty("XmlConfigId"), ToolboxData("<{0}:IndexSearch runat=server></{0}:IndexSearch>"), PersistChildren(true)>
Public Class IndexSearch
Inherits EkXsltBase
Inherits IEnumerator
Inherits IEnumerable
Inherits IListSource
Inherits IDataSource

IndexSearch.cs

Name 
Description 
The structures of the IndexSearch class are listed here. 
The methods of the IndexSearch class are listed here. 
The properties of the IndexSearch class are listed here. 
 
Name 
Description 
 
This is the overview for the AddParm method overload. 
 
Copies all the elements of the current System.Data.InternalDataCollectionBase to a one-dimensional System.Array, starting at the specified System.Data.InternalDataCollectionBase index.  
 
Fill 
Calls up the database and updates the contents of the collection if the data is out of sync with the specified parameters.  
 
Gets a System.Collections.IEnumerator for the collection.  
 
Returns the search parameter data type.  
 
Returns the search parameter search type.  
 
Returns array of strings using Xpaths.  
 
Moves up the index of the Collection. Returns false if the end of the collection has been surpassed.  
 
Brings the index of the collection back to zero. Does not clear the collection.  
 
This is the overview for the Search method overload. 
 
this 
Index operator into a strongly typed dataset holding some common properties for a Collection item.  
 
Wrap 
Overrideable method that can be used to wrap an Ektron toolbar corresponding to a particular Control around some HTML text.  
 
Name 
Description 
 
If you want to display an image on the submit button, enter the server path to it. (Optional)  
 
The text that appears on the Search button.  
 
Checks the QueryString for this value and replaces the search results with that content block when specified. Leave blank to always display the search results.  
 
Indicates the number of elements in your Collection.  
 
Gets the current object in the collection.  
 
Order search results by an indexed field in the smart form. Set this property to the XPATH of that indexed field. If invalid XPATH is specified, search result ordering defaults to Rank.  
 
Array of Ektron.Cms.Common.ContentBase items that correspond to the specified Collection. Holds more information than the exposed strongly typed this[i] index operator.  
 
The message that is displayed when the search returns no hits. (Optional)  
 
Set the property to true if you wish to html encode the Content Html in returned result."  
 
The ID of the folder where to start the search. Root starts at "0".  
 
The form name.  
 
Gets a value indicating whether the System.Data.InternalDataCollectionBase is synchronized.  
 
Specify a label for the date field where search criteria is "After".  
 
Specify a label for the date field where search criteria is "Before".  
 
Specify label for numeric field where search criteria is based on range of values.  
 
Specify the label for a string field where search criteria "Contains".  
 
Specify a label for the date field where search criteria based on a range of dates.  
 
Specify label for numeric field where search criteria is "Equal".  
 
Specify a label for the string field where search criteria "Exact Phrase".  
 
Specify label for numeric field where search criteria is "Greater Than".  
 
Specify a label for the message that appears when date entered are blank/incorrect.  
 
Specify a label for the message that appears when values entered are blank/incorrect.  
 
Specify label for numeric field where search criteria "Less Than".  
 
Specify a label for the Date field where search criteria is "On".  
 
Specify labels for first item on selection dropdown.  
 
Gets or sets the target window for the result to be displayed.  
 
The total number of results to display. If set to zero, unlimited results will be set.  
 
Specify the order of the results. Choices are:
  • Title - the title of the content block
  • ID - the XML content block ID number
  • Date Created - the date the content block was created
  • Date Modified - the date the content block was last modified
  • AuthorLName - the last author’s last name
  • AuthorFname - the last author’s first name
  • StartDate - the GoLive date
 
 
The direction the results will be sorted in. This property works with the OrderBy property only. Choices are:
  • Ascending
  • Descending
 
 
Select True if you wish to search the subfolders of the selected FolderPath.  
 
Predefine a set of search criteria.  
 
If this property is set to False, the search box will not be visible on PostBack.  
 
Gets an object that can be used to synchronize the collection.  
 
Select True if you wish perform a weighted search.  
 
ID of the Smart Form whose indexed fields will appear on the search screen.  
 
Returns the XSLT object for the collection.  
 
Name 
Description 
 
Constructor for IndexSearch class.  
 
Name 
Description 
 
parameter structure used for search.  
Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at [email protected].
Copyright (c) 2008. All rights reserved.
What do you think about this topic? Send feedback!