Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm General / August 2006

Tip: Looking for answers? Try searching our database.

Autocomplet combobox ending at forward slash

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
schleichv@ameritech.net - 05 Aug 2006 00:21 GMT
Hello,

I am trying to use the autocomplete feature of the dotnet 2.0 combobox.
Everything works fine except when the strnig contains a forward slash
(/). For those items, the autocomplete text ends at the forward slash.

i.e.  If the Items contained the string "My event 5/6/2006"
The autocomplete would only show "My event 5/", and thus would never
get a match.

Has anyone run across this?  Any help appreciated.

Thanks.
Alex - 05 Aug 2006 15:46 GMT
Hi,

Look at the Notes section at the bottom of
http://msdn2.microsoft.com/en-us/library/system.windows.forms.combobox.autocompl
etemode.aspx


Stop at / used to simplify paths and Urls entering. May be you can use
AutoCompleteMode = SuggestAppend or Suggest?

- Alex.
schleichv@ameritech.net - 05 Aug 2006 21:27 GMT
Yep.  That is exactly what was happening.  I had missed the note.
Thanks for pointing it out.  I changed the combobox from a custom
source and placed my items in a the Items instead, then changed the
mode to suggest.  This fixed the issue.

Thanks!

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.