I\'m developing a web application using MVC3 in VB.NET.
I having difficulty setting a column on the webgrid with the following action links
Edit | De
grid.Column(
columnName:"PrimaryKey",
header:"Actions",
format: (item) =>
{
var links = Html.ActionLink("Edit", "Edit", new {id = item.PrimaryKey}) + " | " +
Html.ActionLink("Details","Details", new { id = item.PrimaryKey}) +" | "+
Html.ActionLink("Delete","Delete", new { id = item.PrimaryKey});
return Html.Raw(links);
}),
renders the following HTML (formatted for legibility)
Edit |
Details |
Delete