Welcome Guest Search | Active Topics | Sign In | Register

Grid Problem Options
handii
Posted: Thursday, September 18, 2008 11:01:22 PM
Rank: Newbie
Groups: Member

Joined: 5/5/2008
Posts: 9
How can I insert an image into a grid cell. I need a red cross to be dispayed or a green tick image depending on what is coming back from database. If PaymentReceived column value is true, then I want to display tick image, if PaymentReceived column value is false I want to display red cross in the cell. I can do it in asp:GridView using DataBinding like that ImageUrl='<%# bool.Parse(Eval("IsPaymentReceived").ToString()) ? "tick.jpg" : "cross.jpg" %>'

How do I do the same with your grid?
eo_support
Posted: Friday, September 19, 2008 6:49:08 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,193


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.