AJAX AutoCompleteextender without webservice

564 Views Asked by At

As per my knowledge, we can use AJAX AutoCompleteextender via two ways either using 'Webservice' or by defining Service method in 'ASPX or ASCX' file.

I just wanted to know that is there any advantage in using webservice for AutoCompleteextender instead of writing Service method in ASPX or ASCX file?

|Thanks|

1

There are 1 best solutions below

0
On

The webservice advantage is that it centralizes your lookups. You can have one webservice asmx page with several methods that all your other pages could use if needed. That would prevent having to have a separate Page Method on each document. Your lookups would be normalized over your entire site.