i searched through demos, forum and codesection, but i don't know how to implement to show an image in a grid column if the datafield is true and keep it invisible if its false. (Or 0 for false and 1 for true..)
cause i thought -> Container.DataItem: is the current row object. Metainformation.is_checkedout: its a Linq obect that got a relationto the Metainformation table with the column is_checkedout. When i use GridDataBoundColumn its working this way to adress a propertie in a lower child level of the row object
but im not using AutoGenerated Columns. So i think it didnt work as i tried this approach.
I have a grid for documents. which got a relation to the Metainformation table wich got the column bool is_checkedout. which value i need to retrieve for knowing if the image should be visible or not.
i tryd to attach a OnImageLoad method to the OnLoad event of the asp:Image control. but then im not able to retrieve the bool value, cauese the Image control doenst know it..