Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hi Guys,

 

I tried to search for my questions here but didnt get any answer so I am posting 'em, I hope you guys wont mind.

 

1. Is it possible to add an image in the listview ? and do some action if user click on it if yes, how? (as sub item)

 

2. Is it possible to do some action based on clicking on a sub item of list view. (Different action than on clicking on item). if yes, how?

 

what I am trying to do is add an image as subitem, and when user click on it, I will show the full size image. and if user click on some other subitem or item, some data will display.

 

I will really appreciate your help.

  • *Gurus*
Posted
Unfortunately the answer to both your questions is no, not with the standard listview. However, I have seen articles and code examples online that manage to do one or both of these things, through a bit of hacking and owner drawing. Your best bet is to search for something like that.

MVP, Visual Developer - .NET

 

Now you see why evil will always triumph - because good is dumb.

 

My free .NET Windows Forms Controls and Articles

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...