Skip to main content

Greetings All,

 

I have added a picture control as a new column to a List View along with other columns, other columns are getting displayed properly, but the picture column is Blank, the visible property is true for the picture control.

 

Design time i can see the picture and when i run the view , picture is not visible. Please find attached the Screen Shots

 

Request your help in understanding, what i am doing wrong.

 

 

Thanks and Regards,

Mohammed


14645iE7326B5C3C7B0A7C.png
11095iF6CB33EDF76C946E.png

Mohammed


 


There is currently an article in the works on how to do this. It should be published in the near future, and when that happens, I will update this thread with a link to the article.


 


Ian


Hi Mohammed,

 

This is a known issue for some reasons you can't add picture control or button to a list.

 

there is a simple work around for your case, as I see you are trying to set a group icon, I would suggest to do the following:

 

add data label control to your column and it's text value must be a "space"

 

now go the column tab and change the icon property to group

 

 

Note: there must be a way to add your own icon to this list, Im trying to figure it out 

 

wish it helps


OR you can just add the following as an expression on the data label:

 

<!DOCTYPE html>

<html>
<body>
<img src="http://localhost:81/Runtime/Styles/Platinum/Images/AlphaLogo.png" alt="My Image" width="42" height="42">
</body>
</html>

Modify the source of the image :) 


Here is the link to the article I mentioned:


 


http://community.k2.com/t5/K2-Appit/Showing-Images-in-a-List-View/ta-p/81862


 


Ian


How to add conditional images to rows in a List View

https://help.k2.com/kb001404

 


Reply