How to display enumeration images in Gridview control?
0
Hi, How can I display an image for an enumeration in the gridview control? The display attribute as an image does not seem to take care of it automatically Regards, Ramesh
asked
Ramesh Narayanan
1 answers
1
You can do it with this:
Create an extra attribute string: for example ImageURL
If the enum value changes, change ImageURL
Value should be something like: \img\module$image.png (inspect an image in the browser for this). Be careful this may change in the future.
Select in the gridview with rendering 'interpret as image url'