Edit this page

OnButtonCommand

The OnButtonCommand event is raised when an image button is clicked.

The event handler receives two parameters:

  1. The instance of the SearchBox firing the event

  2. An event arguments parameter that contains the following properties:

    • CommandName -returns the command name.

    • CommandArgument -returns the command argument.