Share via


ReportViewer.Search Event

Occurs when the Find or Find Next button is clicked, or when a search operation is invoked programmatically.

Namespace: Microsoft.Reporting.WebForms
Assembly: Microsoft.ReportViewer.WebForms (in microsoft.reportviewer.webforms.dll)

Syntax

'Declaration
Public Event Search As SearchEventHandler
'Usage
Dim instance As ReportViewer
Dim handler As SearchEventHandler

AddHandler instance.Search, handler
public event SearchEventHandler Search
public:
event SearchEventHandler^ Search {
    void add (SearchEventHandler^ value);
    void remove (SearchEventHandler^ value);
}
/** @event */
public void add_Search (SearchEventHandler value)

/** @event */
public void remove_Search (SearchEventHandler value)
JScript supports the use of events, but not the declaration of new ones.

Remarks

Information about this event is passed in a SearchEventArgs object to the SearchEventHandler delegate, which handles the event.

For more information about handling events, see Consuming Events.

See Also

Reference

ReportViewer Class
ReportViewer Members
Microsoft.Reporting.WebForms Namespace
ReportViewer.Find Method
Microsoft.Reporting.WebFormsClient.ReportViewer.find Method
Microsoft.Reporting.WebFormsClient.ReportViewer.findNext Method