Format boolean column in MVCContrib grid

Posted by Ghecco on Stack Overflow See other posts from Stack Overflow or by Ghecco
Published on 2010-06-11T13:31:16Z Indexed on 2010/06/11 14:22 UTC
Read the original article Hit count: 389

HI,

I am using the MVCContrib grid and I would like to display images depending on the values of a column, e.g.:

  • if the column's value is null display the image "<img src="true.gif">"
  • otherwise display the image "<img src="false.gif">

Furthermore I would also need (this should be the same approeach I think) to display different actions depending on the column's/rows' value ...

Thanks in advance for your answers!

Best regards
Stefan

© Stack Overflow or respective owner

Related posts about asp.net-mvc

Related posts about mvccontrib