Is it possible to make ajax call in select of autocomplete? Need to get the data from DB based on value selected from autosuggest. Tried but ui doesn't load properly when i insert ajax call in select.
No syntax errors. When i remove the ajax code everything works ok.
Yes, you can and it all depends on what client side auto complete library you use. For example, I use KendoUI's autocomplete and you can have it point to an mvc action and it automatically deals with the ajax request for you.
sivanand_v
Member
3 Points
35 Posts
AutoComplete - Is it possible to make ajax call in select of autocomplete?
Nov 17, 2012 01:39 AM|LINK
Hi,
Is it possible to make ajax call in select of autocomplete? Need to get the data from DB based on value selected from autosuggest. Tried but ui doesn't load properly when i insert ajax call in select.
No syntax errors. When i remove the ajax code everything works ok.
Thanks in advance.
CodeHobo
All-Star
18647 Points
2647 Posts
Re: AutoComplete - Is it possible to make ajax call in select of autocomplete?
Nov 17, 2012 03:36 AM|LINK
Yes, you can and it all depends on what client side auto complete library you use. For example, I use KendoUI's autocomplete and you can have it point to an mvc action and it automatically deals with the ajax request for you.
Blog | Twitter : @Hattan
sivanand_v
Member
3 Points
35 Posts
Re: AutoComplete - Is it possible to make ajax call in select of autocomplete?
Nov 17, 2012 04:00 AM|LINK
Thanks for the reply.
I am using ASP .NET MVC 4 built in jQuery UI which comes when we create ASP .NET MVC 4 Application.
Does it support?