1

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|

Gustavo F
  • 2,071
  • 13
  • 23
Pawan
  • 41
  • 1
  • 3
  • Could someone please answer to my question? I am still waiting for responses. – Pawan Jan 23 '12 at 09:59
  • Good question. I was wondering the same thing. It looks like the way they are written is very, very similar so I don't really see a point in having 2 different ways of doing the same thing. :/ – Jamie Mar 01 '12 at 16:32

1 Answers1

0

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.

user1205315
  • 47
  • 1
  • 7