- Home
- Forum
- ASP.NET MVC
- How to use filtersearch and event change ?
How to use filtersearch and event change ?
Hello, i am using a dropDownList component with EnableFilterSearch atrribute and a event Change attribute .
When using filter with keyboard, the change event doesnt work. How to use filtersearch and event change ?
Example :
@(Html.EJ().DropDownList("ficheMessageComboNatureMessage").Datasource((IEnumerable<Parametre>)Model.listNatureMessage)
.DropDownListFields(f => f.Text("LIBELLE").Value("REFERENCE").ID("REFERENCE"))
.WatermarkText("").Enabled(false)
.Width("100%")
.ClientSideEvents(ev => ev.Change("messagesFiche_ComboNatureMessage" + "_Change"))
.EnableFilterSearch(true).FilterType(SearchFilterType.StartsWith)
.HtmlAttributes(nameNatureMessage)
.CssClass("NuanceInput")
)
SIGN IN To post a reply.
3 Replies
AB
Ashokkumar Balasubramanian
Syncfusion Team
October 18, 2019 01:07 PM UTC
Hi Cholet,
Good day to you.
We have checked your provided code block and reported problem at our end. Our Dropdown List component change event triggered properly when using keyboard at our end. Could you please check the below sample?
Sample:
Our Dropdown List component change event not triggered on each key press; it will be triggered on select the value in popup. If you want the event for each key press, please use the search event.
Could you please check the sample and get back to us, if you require any further assistance?
Regards,
Ashokkumar B.
CH
Cholet
October 22, 2019 10:24 AM UTC
Thanks for your answer.
We solved our problem.
KR
Keerthana Rajendran
Syncfusion Team
October 23, 2019 05:06 AM UTC
Hi Cholet,
We are glad to hear that the issue has been resolved. Please let us know if you require further assistance on this.
Regards,
Keerthana.
SIGN IN To post a reply.
- 3 Replies
- 3 Participants
-
CH Cholet
- Oct 17, 2019 04:08 PM UTC
- Oct 23, 2019 05:06 AM UTC