Solved

Extending the AutoCompleteExtender

Posted on 2009-07-15
1
398 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

735 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