Solved

How do I create a text box where options are given as typing like address bar in a browser

Posted on 2006-10-19
3
195 Views
Last Modified: 2010-05-18
I want to create a text box in C# that performs similar to the address bar in a browser.

so in a browser I'd start typing

www.exp
and below it would be listed
www.experts-exchange.com
www.exponents.com
etc..

I have an array of strings and I'd like to get that effect.  How do I create that.
0
Comment
Question by:ICPooreman
[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
  • 2
3 Comments
 
LVL 70

Accepted Solution

by:
Éric Moreau earned 500 total points
ID: 17766316
Hi ICPooreman,

Which version of C#? 2003 or 2005?

In 2005, you have the autocomplete features on the TextBox object that allows you to do that. See an article I wrote in June 2006 from http://emoreau.s2i.com/

Cheers!
0
 

Author Comment

by:ICPooreman
ID: 17766479
Thanks that worked!!  

One more thing though I want to generate the autoCompleteCustomSource values from an array of strings I'm going to be reading from a db/registry is there an onload feature or something so that I can read in the values when the form is opened or a way to get those values into the field?
0
 

Author Comment

by:ICPooreman
ID: 17766529
nevermind I found it thanks again.
0

Featured Post

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

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

Suggested Solutions

Introduction Hi all and welcome to my first article on Experts Exchange. A while ago, someone asked me if i could do some tutorials on object oriented programming. I decided to do them on C#. Now you may ask me, why's that? Well, one of the re…
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…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

734 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