?
Solved

adding background-colour to a selected ListBox-item in c#

Posted on 2006-06-28
4
Medium Priority
?
410 Views
Last Modified: 2010-04-17
How do I add background-colour to a selected ListBox-item, and how
do I easily maintain this background-state after Page_Load?
0
Comment
Question by:jenniferw
[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
  • 3
4 Comments
 
LVL 30

Expert Comment

by:callrs
ID: 17002434
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=504601&SiteID=1

For HTML listboxes, or other? I can help you with HTML..
0
 
LVL 30

Accepted Solution

by:
callrs earned 2000 total points
ID: 17002694
C#! ok
http://www.thescarms.com/dotNet/CustomListBox.asp            Change the Color of Individual ListBox items in .NET.
http://www.codeproject.com/cs/miscctrl/ColorComboBox.asp  Selecting colors with a combo box.
http://www.exforsys.com/content/view/1298/240/                  Working with Web Forms Controls and C#
http://www.c-sharpcorner.com/Code/2003/July/DropDownListBox.asp  Working with DropDownList and ListBox Controls in ASP.NET
http://msdn2.microsoft.com/en-us/system.windows.forms.control.defaultbackcolor.aspx (Get color only)
http://www.dnzone.com/showDetail.asp?TypeId=2&NewsId=1328 (C++?)  Advanced ListBox with color items and icons.
0
 

Author Comment

by:jenniferw
ID: 17004244
Sorry for not answering. Thank´s a lot for helping me...
0
 
LVL 30

Expert Comment

by:callrs
ID: 17004462
Welcome.

Were you able to add color?

I said "C#! ok" cause I saw that later in your Question. lol
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
Six Sigma Control Plans

752 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