In my controller I have a string containing C#, something like
viewModel.Message = 'blah blah <%=Html.ActionLink("","","")%> blah'; and in the corresponding view I have tried
Model.Message@Html.Raw(Model.Message)
to get it to display correctly, with no luck - any ideas?