Solved

Extending the AutoCompleteExtender

Posted on 2009-07-15
1
393 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Jquery autocomplete 10 68
Cannot upload files above 1mb IIS7 11 39
SSRS ReportViewer report timeout 7 100
Not showing page correctly 3 29
ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

914 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

12 Experts available now in Live!

Get 1:1 Help Now