Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9319847
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 19, 20262026-06-19T03:29:09+00:00 2026-06-19T03:29:09+00:00

I have a winforms application in visual studio 2010. On a form, I have

  • 0

I have a winforms application in visual studio 2010.

On a form, I have a databound combobox, for which i have set autocompletesource=listitems and
autocompletemode=suggestappend.

Now For this functionality to work, I have set dropdownstyle=dropdown, so that user can type a text

But I want a user to be able to select only an item available from its dropdown.

If user enters item other than list items, and leaves combobox, user should not be able to leave combobox.

In short, I want user to be able to select item only from available listitems, not anything he enters.

plz help

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-19T03:29:10+00:00Added an answer on June 19, 2026 at 3:29 am

    If you set DropDownStyle = DropDownList and AutoCompleteMode = Append, the user will still be able to type the value to select the item they want, but they will be limited to the items that are in the list.

    When AutoCompleteMode = Append, it will check subsequent characters typed by appending them to the value being searched, as long as you type them quickly, that is. If you wait too long between key strokes, then it will go back to the first letter search again.

    Consider: do you really need them to be able to enter an invalid value just so you can alert them that it’s invalid? Because if not, it’s just more confusing that way. By giving them the opportunity to enter any value, it implies that they are allowed to do so.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a C# WinForms application in Visual Studio 2010 that is used by
For Visual Studio 2010 Web based application we have Config Transformation features by which
I have application written in C# WinForms developed in Visual Studio 2010 Professional. I
I have published a WinForms application from Visual Studio 2010. It uses .NET 4.0.
I'm using visual studio 2010 and I have a winforms application. When I start
In my winforms application for visual studio 2010, I have a button, and two
I developed a WinForms application (using C#, with visual studio 2008) and I have
Our environment: Visual Studio 2010, c#, .net 4 client profile. We have a Winforms
I am using Visual Studio 2008. I have created a Winforms application, and I
I have a WinForms application built using Visual Studio 2008. I added a Setup

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.