asp.net - DevExpress MVC GridView Set Cell Image -


in devexpress mvc gridview, have defined column "status".

example: status | id | name | isvalid

depending on boolean value of "isvalid", want show 2 different icons in "status" column each record. how can this? , best way this?

i not use devexpress i'm not sure how apply, since specified gridview...

typically handle in gridview rowdatabound event.

status templatefield has <itemtemplate> <asp:placeholder> control , add appropriate img controls hold icons based on isvalid field each row.


Comments

Popular posts from this blog

c++ - No viable overloaded operator for references a map -

java - Custom OutputStreamAppender not run: LOGBACK: No context given for <MYAPPENDER> -

java - Cannot secure connection using TLS -