We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to use filtersearch and event change ?

Thread ID:

Created:

Updated:

Platform:

Replies:

148504 Oct 17,2019 04:08 PM UTC Oct 23,2019 05:06 AM UTC ASP.NET MVC 3
loading
Tags: DropDownList
Cholet
Asked On October 17, 2019 04:08 PM UTC

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")
                            )


Ashokkumar Balasubramanian [Syncfusion]
Replied On 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.  


Cholet
Replied On October 22, 2019 10:24 AM UTC

Thanks for your answer. 
We solved our problem.


Keerthana Rajendran [Syncfusion]
Replied On 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. 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon