Solved

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

Posted on 2006-06-28
4
409 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 500 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

Transaction Monitoring Vs. Real User Monitoring

Synthetic Transaction Monitoring Vs. Real User Monitoring: When To Use Each Approach? In this article, we will discuss two major monitoring approaches: Synthetic Transaction and Real User Monitoring.

Question has a verified solution.

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

Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
This is about my first experience with programming Arduino.
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

688 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