Possible Duplicate:
HTML.ActionLink method
In my ASP.NET MVC 3 application, I wish to generate an action link from within a model class, corresponding to calling Html.ActionLink in a view. The reason is I need to return links via JSON to DataTables, to have them rendered in table cells. How should I do this?
Specifically, the model class contains a property that returns a string containing links into my application. DataTables receives JSON representations of instances of the model class, and uses this particular property to fill in table cells.