ASP.NET return string

ChrisFlannagan's Avatar


06 Jun, 2010 04:16 PM

Hi, I'm trying to use autosuggest with a .NET script to provide the data. Not having much luck though, right now my script is setup to use "q" as the query and returns destinations separated by semi-colons and the name/id is separated by a comma, you can see an example here

I'm using this as my call

$("input[type=text]").autoSuggest("", { minChars: 2, matchCase: false });

Am I missing something?

  1. 1 Posted by ChrisFlannagan on 06 Jun, 2010 11:20 PM

    ChrisFlannagan's Avatar

    OK, I decided to just write a php script to do it. I followed the example script on the site exactly and you can see the results here:

    but for some reason its still giving me know results Here:

    Any help greatly appreciated

  2. 2 Posted by hafij on 10 Nov, 2010 01:16 AM

    hafij's Avatar

    Yes I had the same problem. But finally i fixed it. Actually the problem is within the plugin. You need to change the default options

    selectedItemProp: "name"
    selectedValuesProp: "value"
    searchObjProps: "name"

    OOOOOh i got it. But why dont the auther find.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac