(Print this page)

New article: Preventing a combo box item from being selected
Published date: Sunday, June 18, 2017
On: Moer and Éric Moreau's web site

I just published another article about .Net combo boxes. It is not the first one on this specific control. The control is really basic and developers need ways to have it fit their needs.

Lately on Experts-Exchange, somebody asked that question. I felt like I should share my answer to a broader audience!

You might wonder yourself why would one would like to show an item that the user wouldn’t be able to select? What if some options were available in the past and are no longer? You might want to show the original value that was saved but not let the user select it if he ever changes it.

You can read this article from http://emoreau.com/Entries/Articles/2017/06/Preventing-a-combo-box-item-from-being-selected.aspx


(Print this page)