| Page 1 of 1 | [ 2 posts ] |
|
Hey all,
I read through every relevant topic on these boards in hopes of an answer, so I post here as a last resort. I have been asked to incorporate an AutoComplete feature in our webservice. I have been working with YUI 2.9 because previous work on this project used this release. I am extracting data from an SQL Database, and converting it into XML format before returning the query. I then write the results of the query, in XML format to a blank webpage called GetData.aspx. A sample source code of this looks like this: Code: <?xml version='1.0' encoding='ISO-8859-1'?> <Client> <Name> <First>John</First> <Last>Doe</Last> </Name> <Name> <First>Jane</First> <Last>Doe</Last> </Name> </Client> I then create a Remote Datasource and an AutoComplete.... http://www.pastie.org/2098072 I have stepped through the script using Chrome development tools and I watch as it enters my code-behind page, executes the query with the query string I input from the textbox. It returns the query and use Response.Write to write the whole XML sting to the page. . Any ideas why this isnt working? Thanks |
Alberto SantiniYUI Contributor
|
Hello Xiphos.
Short ansewer: resultNode vs. resultsList. See "XML" section: http://developer.yahoo.com/yui/datasource/#schemas Hope that helps, IceBox P.S.: See also for instance the example: http://developer.yahoo.com/yui/examples ... stxml.html |
| Page 1 of 1 | [ 2 posts ] |
| You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum |
© 2006-2013 Yahoo! Inc. All rights reserved.
All code on this site is licensed under the BSD License unless stated otherwise.
About This Site · Security Contact Info
Powered by phpBB® Forum Software © phpBB Group