Solved

DevExpress Combo Box in ASP.Net 2008

Posted on 2011-09-22
1
368 Views
Last Modified: 2012-06-22
I'm using DevExpress for some controls in my ASP.Net application (C# code behind). I'm trying to set of the combo box properly, just like the normal dropdownlist with ASP.Net. The combo box feeds off of a SQL Server view. It is on a form used to edit existing records. But combo box does not seem to have a SelectedValue property to bind. Any ideas on how to do that?
0
Comment
Question by:dodgerfan
[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 5

Accepted Solution

by:
TRUENEUTRAL earned 500 total points
ID: 36593893
The problem is that when using a combobox, the user could delete the value or type in a value that is not in the list.  Sure, you could validate it and stop them from proceeding, but the combobox was designed to allow this.  It sounds like you really want the listbox functionality here.

Nevertheless, to get the currently selected value:
comboBox1.Text

0

Featured Post

Independent Software Vendors: 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

Suggested Solutions

Lots of people ask this question on how to extend the “MembershipProvider” to make use of custom authentication like using existing database or make use of some other way of authentication. Many blogs show you how to extend the membership provider c…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

740 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