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. Image for the cookie policy date
close icon

AutocompleteTextBox - filter items based from other text box value

Hello,

I have an AutocompleteTextBox (person names) which the list is based from the value of a TextBox (Department Id). The list is refreshed (server side) when the LostFocus event of the textbox is triggered.

e.g.
People
===============
Dept Id      Name
1            Andrew
1            Rachel
2            Brian
3            Albert

So when I typed-in 1 in the textbox, the list from the AutocompleteTextBox must contain (Andrew and Rachel) which is under that department id = 1.

Thank you.

1 Reply

ME Meena Syncfusion Team July 25, 2013 10:19 AM UTC

Hi Ronaldo,

 

Thanks for contacting Syncfusion forums.

 

Before starting to provide you solution, we would like to know whether you need this requirement in MVC or ASP.NET, because MVC controls does not have server side events. We need to trigger the server side actions manually from script. Please refer the below forum, which describes it clearly.

 

http://forums.asp.net/t/1861594.aspx/1?mvc+control+event+handling

 

Kindly go through the link and let us know whether you need the above requirement in MVC or ASP.NET.

 

Regards,

Meena


Loader.
Live Chat Icon For mobile
Up arrow icon