I need to include an AutoCompleteExtender in my program to take in text (company name of an organization). The web service then retreives all companies that start with the prefix provided. Now my question is, is it possible for me to retreive the company
name and the ID? Not only the company name?
This is important because i am planning on populating organization information depending on the company they have chosen. But for this i'll need the unique identifier being the ID. I CANNOT retreive the other details by organization information since it
is very very very possible to have one company with the same exact name in the table more than once.
So is it possible to retreive the ID of the company names along with the webservice function? If so, where can i store these values and access them?
Thanks so much!
Ravina Brar
IT Project Manager
ECO Canada
--------------------------
The man who smiles when things go wrong has thought of someone to blame it on.
- Robert Bloch
Member
50 Points
125 Posts
Autocompleteextender + is it possible to retreive text & the ID associated with it?
Jan 12, 2010 12:51 PM|Ravina|LINK
Hi All,
I need to include an AutoCompleteExtender in my program to take in text (company name of an organization). The web service then retreives all companies that start with the prefix provided. Now my question is, is it possible for me to retreive the company name and the ID? Not only the company name?
This is important because i am planning on populating organization information depending on the company they have chosen. But for this i'll need the unique identifier being the ID. I CANNOT retreive the other details by organization information since it is very very very possible to have one company with the same exact name in the table more than once.
So is it possible to retreive the ID of the company names along with the webservice function? If so, where can i store these values and access them?
Thanks so much!
IT Project Manager
ECO Canada
--------------------------
The man who smiles when things go wrong has thought of someone to blame it on.
- Robert Bloch
All-Star
101931 Points
20703 Posts
Re: Autocompleteextender + is it possible to retreive text & the ID associated with it?
Jan 12, 2010 01:31 PM|MetalAsp.Net|LINK
You'll need to make use of the CreateAutoCompleteItem() method for this.
Refer here: http://forums.asp.net/t/1162005.aspx