ReturnCurrentPageOnly Property

UltimateSearch

Collapse imageExpand ImageCopy imageCopyHover image
Gets or sets a value that indicates whether it should return current page results only.

Namespace: Karamasoft.WebControls.UltimateSearch
Assembly: UltimateSearch (in UltimateSearch.dll) Version: 3.7.4186.26690

Syntax

C#
public bool ReturnCurrentPageOnly { get; set; }
Visual Basic
Public Property ReturnCurrentPageOnly As Boolean
	Get
	Set
Visual C++
public:
property bool ReturnCurrentPageOnly {
	bool get ();
	void set (bool value);
}

Field Value

true if it returns current page results only; otherwise, false. The default value is true.

Remarks

Use this property to return all page results instead of the current page results only. You should set it to false to return entire search results. Then you will be able to update search results such as remove items from search results or sort results in a different order. However, you should use caution before doing so as it will adversely affect the search performance. If your search returns a lot of results it will drastically increase the search time because it will need to retrieve information on each document and return everything back to the client.

See Also