ASP.net
Awesome
Learn
Forum
Buy
Demos
Sign In
☾
☀
Switch to
Dark
Light
Mode
this site works best with javascript enabled
Ask Question
How refresh List in Custom Search in Mutilookup when SearchOnChange(false)
Title:
B
I
{code}
?
@(Html.Awe().MultiLookup("PersonsCustomSearch") .Mod(o => o.Dropdown()) .Controller("PersonsCustomSearchMultiLookup") .SearchOnChange(false) .Fullscreen(true) .CustomSearch(true)) I use MultiLookup and CustomSearch View and SearchOnChange is false In CustomSearch View (SearchForm.cshtml) I have: @Html.Awe().TextBox("Search").HtmlAttributes(new { style = "width:300px;" }).CssClass("awe-searchtxt") <button type="button" id="btnPersonsSearch" class="btn btn-primary">Search</button> I want MultiLookup search list to update when I click the search button
Save Changes
Cancel
nutfergie
asked at 25 Feb 2017
the searchForm content is inside an html form, so you need to call submit on it, so use a `<input type="submit" value="Search" />` instead of `button`
at 25 Feb 2017
Omu
Answers
please
Sign In
to leave an answer
By accessing this site, you agree to store cookies on your device and disclose information in accordance with our
cookie policy
and
privacy policy
.
OK