@model IEnumerable<Gdp>

<h1>
    AutoComplete Searching
</h1>

<p>
    By default, the AutoComplete control searches for matches against the
    property specified by the <b>displayMemberPath</b> property.
    You can extend the search to other properties by setting the
    <b>searchMemberPath</b> property to a comma-delimited list
    of properties to search on.
</p>
<p>
    For example, the AutoComplete below is configured to search for
    country and continent names. Try typing "asia", "america", or
    "euro or" for example:
</p>

<label for="theAutoComplete">AutoComplete:</label>
@(Html.C1().AutoComplete<Gdp>().Id("theAutoComplete").Bind(Model).DisplayMemberPath("Country").SearchMemberPath("Country,Continent"))