goodk
asked on
trying to use ajax in asp.net but this simple example is not working.
I saw this example and i tried it but is not very working.
http://www.aspdotnet-suresh.com/2012/03/jquery-ui-autocomplete-textbox-with.html
select DISTINCT Name from PersonInfo where Name LIKE '%a%' - I tested the query, it works fine but the autocomplete example is not working.
Autocomplete.aspx
Autocomplete.aspx.cs
http://www.aspdotnet-suresh.com/2012/03/jquery-ui-autocomplete-textbox-with.html
select DISTINCT Name from PersonInfo where Name LIKE '%a%' - I tested the query, it works fine but the autocomplete example is not working.
Autocomplete.aspx
Autocomplete.aspx.cs
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
url: "Default.aspx/GetAutoCompl eteData",
What is this suppose to be?
What is this suppose to be?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I am confuse because my file name is autocomplete.aspx. Am I suppose to create some more files?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I get response "error". Not sure what is wrong. I am attaching the two files again. Please see if you see something I am overlooking.
This is my first try at this so not very confident.
Autocomplete.aspx
Autocomplete.aspx.cs
This is my first try at this so not very confident.
Autocomplete.aspx
Autocomplete.aspx.cs
ASKER
Please give all the points to AlexCode - thanks
ASKER
Thank you I got it to work. I had a problem in the connection to the DB
ASKER