I'm outputting an Actionlink, in a WebGrid, with Dynamic link text and the only way I can get it to work is as follows:
Grid.Column(header: "Subject", columnName: "Message.Subject", format:(item) => Html.ActionLink(((object)item.Message.Subject).ToString(), "Message", new {Id = 12345 }))
Does anyone have a better way of doing this?