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
Solved

More than one image in listview control

Posted on 2004-03-23
4
304 Views
Last Modified: 2010-04-15
Hello Everyone,

I need to use a list control that can display two images in each row, along with text. The images need to be in separate columns. The UI will be kind of like Microsoft Outlook, where in the message list they show the mail icon and clip icon in the same row.

I looked up listview control in .NET and found that they only allow one image per row. Is there any way to go about it without using third party controls. I want to use controls provided with Visual Studio .NET only.
0
Comment
Question by:saj1
  • 2
  • 2
4 Comments
 
LVL 5

Expert Comment

by:AdrianJMartin
ID: 10656828
Use one picture that looks like 2 pictures.
0
 
LVL 1

Author Comment

by:saj1
ID: 10657100
Thats a neat trick. :)

BUT i can't use that. There will be too many combinations. Also, the images have to be in different columns.
0
 
LVL 5

Accepted Solution

by:
AdrianJMartin earned 250 total points
ID: 10657282
Ok use a Datagrid then this article shows how to set up a datagridcolumstyle that displays images

http://www.codeguru.com/Csharp/Csharp/cs_controls/datagrid/article.php/c4783/
0
 
LVL 1

Author Comment

by:saj1
ID: 10698194
Thanks. I tried it out. This will do nicely.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Article by: Ivo
C# And Nullable Types Since 2.0 C# has Nullable(T) Generic Structure. The idea behind is to allow value type objects to have null values just like reference types have. This concerns scenarios where not all data sources have values (like a databa…
Article by: Najam
Having new technologies does not mean they will completely replace old components.  Recently I had to create WCF that will be called by VB6 component.  Here I will describe what steps one should follow while doing so, please feel free to post any qu…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

837 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