Ektron Reference


>>Helping Users Navigate Your Web Site > Using Search > Understanding Search Server Controls > UserSearch Model

UserSearch Model

The User Search Model contains the following properties.

Property Description Use with these controls
Advanced QueryText See Using the Advanced Query Text Parameter. SearchController Server Control
AvailableFilters

Label

Name

Value

 
DirectorySearchLetter After clicking Browse Directory, the letter the site visitor clicks to initiate the search. UserSearchResultsView
DirectorySearchType First name, last name, or display name UserSearchResultsView
PageInfo

Display information about search result numbers, such as Displaying results 11 through 20 of 35.

    CurrentPageIndex - current page

    EndCount - number of results found

    NumberOfPages - number of results divided by results per page

    PageCount - The number of the page being viewed currently

    ResultCount - The number of the results returned for the search terms

IMPORTANT: The result count is only an estimate. The count becomes more accurate you get closer to the final page.

    ResultsPerPage - number of results displayed per page

    StartCount- one

UserSearchResultsView

QueryText

String site visitor entered to begin search.

UserSearchInputView,

UserSearchResultsView

Results

Fields returned of UserSearchResults. Display these inside a ListView or Repeater, for example.

  • Avatar
  • DisplayName
  • email
  • FirstName
  • LastName
  • ProfileURL
  • Tags

See Also: Modifying Templated Server Controls

UserSearchResultsView
SearchType Basic or Advanced search (site visitor clicks Browse Directory to access advanced search) UserSearchInputView
State
  • initialized - search has not been run yet
  • no results - no search results were returned
  • search results - search results were returned
UserSearchResultsView

Ektron Version 8.5, Doc. Rev. 2.0 (Dec. 2011)
Visit the
Ektron Dev Center at http://dev.ektron.com 1–866–4–EKTRON
Ektron Documentation, © 2011 Ektron, Inc.