Add Multiple Search Filters to a Page

Updated July 23, 2007
Iron Speed Designer V4.3

Here is how you can add a second (or additional) search filters to a Show Table page.

Step 1: On the Show Table page, drag and drop a Search Filter control from the Controls toolbox on the left.  (Before you add this, you might create a blank HTML row on the page by right-mouse clicking and selecting Insert HTML, Row Below).  The search filter is automatically given a name such as SearchFilter.  This name is used in subsequent steps.

Step 2: Double click on the newly added filter and on the Display tab, set the Text Box Columns to 20.

Step 3: On the Bindings tab, select the Table being displayed and the fields you would like to search in.  Change the search operator to Contains.

Step 4: (Optional) On the Attributes tab, you can add an attribute that sets the same look and feel as the other search text box.

Pass-Through Attribute

Value

SearchFilterTextBox:CssClass

Search_Input

Step 5:  Bind the events for the newly added search filter control.  In the Bindings tab’s Event Notification section, select the table control to which the search filter applies.  If there is only one table control on the page, it will be selected by default.

Step 6:  If you have a “Go” button to start the filtering process, your application must instruct the table control to update itself when the user presses the Go button.

Binding

Value

Button Command

Apply search and filter to

Select table control(s)

CategoriesTableControl

Step 7:  Build and run the application.

See Also

Filters