[Webinar] Streamline your web hosting managementRegister Today

x
?
Solved

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

Posted on 2008-01-27
4
Medium Priority
?
825 Views
Last Modified: 2008-01-28
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.
0
Comment
Question by:gauravjoshi
  • 2
  • 2
4 Comments
 
LVL 6

Expert Comment

by:monarch_ilhan
ID: 20757328
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.
0
 
LVL 1

Author Comment

by:gauravjoshi
ID: 20761379
is there any other solution than changing javascript?

Thanks for comment
0
 
LVL 6

Accepted Solution

by:
monarch_ilhan earned 1500 total points
ID: 20761906
Try to find another free autocomplete combobox. You can easily find and implement it. do some googling. For example search codeproject.com
0
 
LVL 1

Author Comment

by:gauravjoshi
ID: 20762178
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

0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction Although it is an old technology, serial ports are still being used by many hardware manufacturers. If you develop applications in C#, Microsoft .NET framework has SerialPort class to communicate with the serial ports.  I needed to…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Planning to migrate your EDB file(s) to a new or an existing Outlook PST file? This video will guide you how to convert EDB file(s) to PST. Besides this, it also describes, how one can easily search any item(s) from multiple folders or mailboxes…
Hi, this video explains a free download that you can incorporate into your Access databases, or use stand-alone for contact management. Contacts -- Names, Addresses, Phone Numbers, eMail Addresses, Websites, Lists, Projects, Notes, Attachments…
Suggested Courses
Course of the Month11 days, 5 hours left to enroll

612 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question