I have a Telerik MVC2 Grid which has a column like:
columns.Bound(c => c.CustomerID)
.Format(Html.ActionLink("Close", "CloseCustomer", new { Id = "{0}"}).ToString())
.Encoded(false)
.Title(String.Empty)
.Width(80);
the objects being used also include a closed flag, and I'd like to be able to get it to make the link invisible if the customer is already closed (the object being used also has a ClosedFlag as well as CustomerID).
Is there a simple way to do this, or do I have to use custom templates?