Solved

Extending the AutoCompleteExtender

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

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

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

Introduction HyperText Transfer Protocol (http://www.ietf.org/rfc/rfc2616.txt) or "HTTP" is the underpinning of internet communication.  As a teacher of web development I have heard many questions, mostly from my younger students who have come to t…
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…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…

630 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