All docs
V21.1
21.1
20.2
20.1
19.2
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

SearchAvailable Variable

Enables the Search action.

Declaration

export var SearchAvailable: ko.Observable<boolean>;

Members

Type Description
Observable<boolean>

True to enable the Search action; otherwise, false.

Remarks

Set the SearchAvailable property to false to disable the action that displays the Search panel.

You can handle the ASPxClientWebDocumentViewer.CustomizeElements event and specify the SearchAvailable setting to remove the Search action in the Document Viewer:

<dx:ASPxWebDocumentViewer ID="ASPxWebDocumentViewer1" runat="server">
    <ClientSideEvents CustomizeElements = "function(s, e) {
        DevExpress.Reporting.Viewer.Settings.SearchAvailable(true);}" />
</dx:ASPxWebDocumentViewer>