Solved

Extending the AutoCompleteExtender

Posted on 2009-07-15
1
392 Views
Last Modified: 2012-08-14
Hello,

I would like to extend the 'AutoCompleteExtender' so that it will use a TreeView within the results frame, instead of a list of strings.

How can I do that? I'll be happy to see an example

Thanks
0
Comment
Question by:Relegence
1 Comment
 
LVL 39

Accepted Solution

by:
abel earned 500 total points
ID: 24936821
This is a week's task on its own, but here's a starting point: create a user control that inherits from the AutoCompleteExtender and override the parts that do the rendering on the callback to the server.

You will also have to change the web service logic, because somehow you will have to tell the autocompleteextender that it should indent to a certain level.

something like this might be easier with AJAX aware treeview controls, for instance from Telerik (but others exist too, I guess).

Getting this right will be quite some work. And since treeviews are hierarchical, how would the textbox that it is connected to know what the parent nodes are? That too should be taken into account (nodes may have the same text, but different parents, or different positions).
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
jQuery is a JavaScript library that greatly simplifies JavaScript programming. AJAX is an acronym formed from "Asynchronous JavaScript and XML."  AJAX refers to any communication between client and server, when the human client does not observe a…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

758 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now