PDA

View Full Version : Failer load xml data into combo



fastwings
20 Aug 2009, 10:57 AM
ok i build a script that need load xml into combo
for some reason no data display but xml ok and as well
there is a request.

js click here (http://pastebin.com/d166e1ebd)

html click here (http://pastebin.com/d470ee5de)

xml here:


<?xml version="1.0" encoding="UTF-8"?><Items>
<Item>
<Id>2</Id>
<Name>????</Name>
<Soft>0</Soft>
</Item>
</Items>


get request here:



Response Headers
Server ASP.NET Development Server/9.0.0.0
Date Thu, 20 Aug 2009 18:49:31 GMT
X-AspNet-Version 2.0.50727
Cache-Control private
Content-Type text/xml; charset=utf-8
Content-Length 139
Connection Close
Request Headers
Host localhost:6970
User-Agent Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2 (.NET CLR 3.5.30729)
Accept */*
Accept-Language en-us,en;q=0.5
Accept-Encoding gzip,deflate
Accept-Charset ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive 300
Connection keep-alive
X-Requested-With XMLHttpRequest
Referer http://localhost:6970/Admin/Pages/Content/Category/Test.aspx
Cookie ASP.NET_SessionId=j13byo2ltjjrmuugjxhc0kvp


now i don't have any ideas where the problem is my combo don't show data i check the this.categorysDS it seem he don't retrieve any data why whats wrong here?

fastwings
20 Aug 2009, 1:28 PM
any ideas?

fastwings
21 Aug 2009, 2:21 AM
problem fix the combo wasn't correct