Link to home
Start Free TrialLog in
Avatar of gauravjoshi
gauravjoshiFlag for United States of America

asked on

Return Key/Value instead of just one single value using autocomplete ajaxtoolkit

Is it correct that there is no way to use the AutoComplete to get an ID value?

In otherwords, when they are done with the control, I  want the text in the textbox, and also I want the database ID value behind it,

Basically i want dropdown functionality in autocomplete textbox, where i can have two things text and value.
Avatar of monarch_ilhan
monarch_ilhan
Flag of Türkiye image

in Ajax Tool Kit source  files change the appropriate functions which manages AutoComplete functionality.In AutoCompleteBehavior.js and AutoCompleteExtender.cs files you must do some modifications. but you must be familiar with javascript.
Avatar of gauravjoshi

ASKER

is there any other solution than changing javascript?

Thanks for comment
ASKER CERTIFIED SOLUTION
Avatar of monarch_ilhan
monarch_ilhan
Flag of Türkiye image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks for idea on search term

i found some links on the net, I m not sure whether it will solve my problem or not, but looks promising

this is the post, might get use full to some one, looking for the same solution
http://forums.asp.net/t/1131690.aspx

Gaurav