views:

108

answers:

2

I'm having some issues with an asp.net implementation of this JQuery facebook style autocomplete.

Basically the json url I am using is an aspx page that takes some paramaters via the query string and writes json to the response. This appears to be functioning correctly however the plugin doesnt recognise it.

The strange thing is when I take the Request.QueryString out of the page (still passing it the querystring) and hard code the values the autocomplete works fine.

+1  A: 

Can you log what query strings are passed to .aspx in the page itself? Create a file to log the whole url which is passed. I bet that there is an issue with passing the query string correctly, maybe they are not correctly encoded.

Pawel
Luke Lowrey
Can you install mozilla add-in firebug and check in the console what URL is called? Do you have the site online?
Pawel
A: 

Yeah found the problem thanks to the tip from Pawel.

The autocomplete uses a query parameter to do the search resulting in something like - UnassignedUsers.aspx?p=12&j=72?tag=a

Luke Lowrey