Solved

More than one image in listview control

Posted on 2004-03-23
4
315 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
[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
  • 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: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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

This article introduced a TextBox that supports transparent background.   Introduction TextBox is the most widely used control component in GUI design. Most GUI controls do not support transparent background and more or less do not have the…
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…

623 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