I have a boolean property IsActive. In the view is a list of objects with their properties (including IsActive). But in the list the IsActive is a non-editable checkbox since it
This is a old question, but this might help someone. I had the exact same problem and solved with @(IsFooBar ? "Yes" : "No").
@(IsFooBar ? "Yes" : "No")