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: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

DropDownList Filter Search Focus

Thread ID:





124821 Jul 1,2016 11:41 AM UTC Jul 4,2016 09:38 AM UTC ASP.NET Web Forms 1
Tags: DropDownList
Asked On July 1, 2016 11:41 AM UTC


is there a way to dynamically set focus to the filtersearch textbox when it's set to true?

Thank you  

Kasithangam C [Syncfusion]
Replied On July 4, 2016 09:38 AM UTC

Hi Pratura, 
Thanks for using Syncfusion Products. 

Yes, we can set focus to the filtersearch textbox by overwrite the popupShown function as shown below code: 

        $(function () { 
            var obj = $("#<%=selectCar.ClientID%>").data("ejDropDownList"); 
            var srcFunction = obj._OnPopupHideShow; 
             obj._OnPopupHideShow = function (e) { 
                //This is the overwrite popupshown function and set focus to the filtersearch textbox in dropdown 
                srcFunction.call(this, e); 

It will set focus when the popup is opened. We have prepared the sample based on this and please find the sample from the following location: 

Sample: Sample 
Please let us know if you have further query. 


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

or the page will be automatically redirected to 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