Using webservice call in Yahoo UI Lib
-
Hi, I want to use the autocomplete feature from Yahoo UI Library with a webservice call to the database in my ASP.Net application. (I dont want to use ATLAS-AJAX) I want to achieve something like this (as given below) but instead of using a static array i want to connect to the db using webservice in my ASP.NET application
// A JavaScript Array DataSource var statesArray = [ "Alabama", "Alaska", "Arizona", "Arkansas", "California", "Colorado", "Connecticut", "Delaware", "Florida" // Entire array not shown ]; var myDataSource1 = new YAHOO.widget.DS_JSArray(statesArray); var oAutoComp = new YAHOO.widget.AutoComplete("myInput","myContainer", myDataSource1); I have this code below which uses the Atlas-ajax feature to perform the autocomplete. But want to add the missing code using YUI syntax using webservice (BLOCK 2) BLOCK 1 BLOCK 2
Find a product:
oACDS = new YAHOO.widget.???????? ????? Does anybody have any links/pointers to the Yahoo UI objects and usage of webservices. So ideally BLOCK 1 and BLOCK 2 should return values from the db using ProductService.asmx Thanks in advance. PJ