Click here to Skip to main content
15,892,161 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
hi to all..

this my scenario like this:

now i have items with checkboxes and image in listview.but now i wnat to add a item in listview with only image and text, i don't want check box..
if any body knows pls let me know..
Posted

1 solution

Instead of applying a text value to a check box control just assign the text value to an HTML img tag.

XML
<asp:CheckBox ID="yourCheckBox" runat="server" Text="<img src='yourimage.gif' alt='herez image' title='ImageTitle' />" />
 
Share this answer
 
Comments
narmadhalilly 21-Nov-11 23:53pm    
here iam using windows application not web.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900